Giter VIP home page Giter VIP logo

Comments (8)

typicode avatar typicode commented on August 15, 2024

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.

alaindresse avatar alaindresse commented on August 15, 2024

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.

typicode avatar typicode commented on August 15, 2024

Yeah, you read my mind ^^
Ok, I see better how the entity/entityId works, thanks.

from json-server.

typicode avatar typicode commented on August 15, 2024

Just published v0.6.10, it should be good.

from json-server.

alaindresse avatar alaindresse commented on August 15, 2024

Thanks !
I'll check it out later today.

from json-server.

typicode avatar typicode commented on August 15, 2024

Closing for the moment, feel free to reopen if it doesn't work.

from json-server.

alaindresse avatar alaindresse commented on August 15, 2024

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.

typicode avatar typicode commented on August 15, 2024

Great :)

from json-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.