Comments (8)
Hi Alain,
Thanks for raising the issue. Unfortunately, not right now. But, it's more a bug than a feature, so I'll fix that.
BTW, do your database contains only keywords
or you have an entity
table?
from json-server.
HI, and thanks for your answer.
No I don't have an entity table.
I suppose you want to know if you can assume that xxxId is a foreign key if there is a "table" named xxx. I believe it would be a valid assumption.
For info, my current usage of entityId is as follows:
Keywords can be attached to different types of entities - e.g. messages, documents.
{
"id": 0,
"entity": "messages",
"entityId": 5,
"value": "mollit"
}
means "molllit" is a keyword for the "messages" entry with id 5, whereas
{
"id": 0,
"entity": "documents",
"entityId": 3,
"value": "consequat"
}
means "consequat" is a keyword for the "documents" entry with id 3.
from json-server.
Yeah, you read my mind ^^
Ok, I see better how the entity/entityId works, thanks.
from json-server.
Just published v0.6.10
, it should be good.
from json-server.
Thanks !
I'll check it out later today.
from json-server.
Closing for the moment, feel free to reopen if it doesn't work.
from json-server.
Works fine, thanks !
Alain Dresse
Bamboost http://www.bamboost.org CEO and co-founder
GSM: +32 478 403027
On 4 May 2015 at 21:46, typicode [email protected] wrote:
Closing for the moment, feel free to reopen if it doesn't work.
—
Reply to this email directly or view it on GitHub
#62 (comment).
from json-server.
Great :)
from json-server.
Related Issues (20)
- _sort=price&_order=asc no longer working HOT 2
- it doesn't work on xxx.js or remote url,though xxx.json is ok
- SyntaxError: Unexpected token '||=' HOT 1
- Please, bring back the `--delay` option HOT 2
- CORS Issue (Access-Control-Allow-Headers)
- _sort=id&_order=desc do not work (--version 1.0.0-beta.0) HOT 1
- paginate should return empty data when there have a bigger `_page`, but return last page data now
- `_like` doesn't work anymore? HOT 1
- _dependent value error
- Licensing HOT 1
- Compressed Uploads
- Getting nested resources doesn't work HOT 1
- cant find package json-server within node_modules HOT 3
- delay [ms] is not working for me...... HOT 2
- I can not not increased by 1 for id HOT 1
- Newly added data is not recognized when trying to update it seconds later HOT 1
- multiple files with beta 1.0.0v1 HOT 1
- How to access multiple layers, for example /system/user system/menu
- Pagination fetches all Objects instead of just one page HOT 3
- Implicit foreign key mapping not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from json-server.