Sequelize is a popular, easy-to-use JavaScript object relational mapping (ORM) tool that works with SQL databases. It’s fairly straightforward to start a new project using the Sequelize CLI, but to truly take advantage of Sequelize’s capabilities, you’ll want to define relationships between your models.
In this walkthrough, we’ll set up a Sequelize project to assign tasks to particular users. We’ll use associations to define that relationship, then explore ways to query the database based on those associations.

#javascript #sequelize

Creating Sequelize Associations with the Sequelize CLI tool
7.00 GEEK