When you start building web applications and APIs you often need something that interacts with databases for you. Maintaining relationships between tables, fetching related records and managing transactions gets very repetitive over time when using just raw queries. Sequelize abstracts these tasks away for you and provides you with a database layer.
It has been under development since July 2010 and is used by a large number of users. It’s under active development with new features introduced relatively often.
- Schema definition
- Schema synchronization/dropping
- 1:1, 1:M & N:M Associations
- Through models
- Hooks/callbacks/lifecycle events
- Prefetching/association including
- CLI (sequelize-cli)
Sequelize v5.21 has been released. The update change as follows: