Package Exports
- sequelize
- sequelize/lib/data-types
- sequelize/lib/data-types.js
- sequelize/lib/dialects/mysql/connection-manager
- sequelize/lib/dialects/mysql/query
- sequelize/lib/dialects/mysql/query-generator
- sequelize/lib/dialects/postgres
- sequelize/lib/dialects/postgres/query-generator.js
- sequelize/lib/errors
- sequelize/lib/hooks
- sequelize/lib/model
- sequelize/lib/operators
- sequelize/lib/promise
- sequelize/lib/query-interface
- sequelize/lib/query-interface.js
- sequelize/lib/query-types
- sequelize/lib/query-types.js
- sequelize/lib/sequelize
- sequelize/lib/sql-string
- sequelize/lib/transaction
- sequelize/lib/utils
- sequelize/lib/utils/inherits
- sequelize/lib/utils/logger
- sequelize/lib/utils/validator-extras
- sequelize/package.json
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sequelize) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Sequelize
Sequelize is a promise-based Node.js ORM for Postgres, MySQL, SQLite and Microsoft SQL Server. It features solid transaction support, relations, read replication and more.
Table of Contents
Installation
$ npm install --save sequelize
# And one of the following:
$ npm install --save pg@6 pg-hstore # Note that `pg@7` is not supported yet
$ npm install --save mysql2
$ npm install --save sqlite3
$ npm install --save tedious # MSSQL
Sequelize follows SEMVER. Supports 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)
Responsible disclosure
If you have any security issue to report, contact project maintainers privately. You can find contact information here
Documentation
Resources
Tools
Learning
Translations
- English v4 (OFFICIAL)
- 中文文档 v4 (UNOFFICIAL)