Sequelize is a promise-based Node.js/io.js ORM for Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server. It features solid transaction support, relations, read replication and more.
npm install sequelize
Will install the latest version of sequelize (currently 2.0).
- 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)
- Changelog
- Getting Started
- Documentation
- API Reference
- Collaboration and pull requests
- Roadmap
- Twitter: @SequelizeJS
- IRC: sequelizejs on Freenode
- Google Groups