Source code: github.com/sequelize/sequelize
Some usage examples under: Section "Sequelize example".
As of 2021, this library is extremely painful to use. It does feel semi-mature, but there are just too much horrible things going on;
- the documentation is a bit messy and misses a lot of stuff. The examples are often too short, and it is hard to understand what specific options they are talking about do because they lack clear input/expected output pairs. Examples:
- the implementation has several inelegant/unintuitive annoyances/requirements of code repetition that drive you mad.The association API feels notably bad, it took a few days for Ciro Santilli to learn to do what he considers "basic" association operations, knowledge which he dumped to: stackoverflow.com/questions/22958683/how-to-implement-many-to-many-association-in-sequelize/67973948#67973948See also: how to decide if an ORM is good?.
- bugs are piling up. It appears that many key devs left, and current maintainers are just not being able to keep up.And they have setup a stupid bot that closes every thread automatically after a few days, what's the point... valid bugs are being closed due to this, and it is impossible to distinguish what is solved and what isn't since everything gets closed.
Some glaring issues are listed at the horrors of Sequelize.
Ancestors
Incoming links
- nodejs/sequelize/parallel_select_and_update.js
better-sqlite3
Node.js package- DELETE with JOIN
- feathers-chat PostgreSQL
- FeathersJS
- How to decide if an ORM is good?
- OurBigBook.com
- Sigoden/node-express-realworld-example-app
- Further improvements to the website's base technology
- SQL example
- SQL TRIGGER
- SQL TRIGGER in Sequelize
- UPDATE with JOIN
- webpack