Saturday, 9 January 2016

Sequelize.JS | Database associations?

I'm really confused on how database associations work with Sequelize. The docs and tutorials I'm finding aren't very helpful.So, on a many-to-one relationship in the database, you should create another table to link them together, correct?How does sequelize do it? It seems to me that they add extra rows to show the links. I could be wrong, because I haven't been able to get working code to show myself.Thanks, Scott

Submitted January 09, 2016 at 07:54PM by scottcfr

No comments:

Post a Comment