Sequelize
Sequelize is a promise-based Node.js/io.js ORM for Postgres, MySQL, SQLite and Microsoft SQL Server. It features solid transaction support, relations, read replication and more.
Installation
npm install sequelize
From 3.0.0 and up Sequelize will follow SEMVER. 3.0.0 contains important security fixes so we highly recommend that users upgrade.
Starting from 4.0.0 Sequelize will only support Node v4 and above to use ES6 features.
Features
- Schema definition
- Schema synchronization/dropping
- 1:1, 1:M & N:M Associations
- Through models
- Promises
- Hooks/callbacks/lifecycle events
- Prefetching/association including
- Transactions
- Migrations
- CLI (sequelize-cli)
Resources
- Changelog
- Getting Started
- Express Example
- Documentation
- API Reference
- Collaboration and pull requests
- Roadmap
- Twitter: @SequelizeJS
- Slack
- IRC: sequelizejs on Freenode
- Google Groups
- Add-ons & Plugins