Associations Associations For the most part hooks will work the same for instances when being associated except a few things When using add/set functions the beforeUpdate/aft...
Validations Per-attribute validations Per-attribute validators and allowNull Model-wide validations Validations Model validations allow you to specify format/content/inherit...
Promises and async/await Promises and async/await As shown above by the extensive usage of .then calls, Sequelize uses Promises extensively. This means that, if your Node vers...
Belongs-To-Many associations Source and target keys Belongs-To-Many associations Belongs-To-Many associations are used to connect sources with multiple targets. Furthermore th...
Database synchronization Database synchronization When starting a new project you won't have a database structure and using Sequelize you won't need to. Just specify your model...
Replacements Bind Parameter As there are often use cases in which it is just easier to execute raw / already prepared SQL queries, you can utilize the function sequelize.query ...