Skip to content
An easy-to-use multi SQL dialect ORM for Node.js
JavaScript Other
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github chore(.github): improve issue templates (#11334) Aug 22, 2019
docs docs(types): add explanatory comments to operators (#11337) Aug 21, 2019
lib feat(database-error): add parameters property (#11343) Aug 22, 2019
scripts feat: upgrade to tedious@6.0.0 (#10494) Mar 2, 2019
test feat(database-error): add parameters property (#11343) Aug 22, 2019
types feat(database-error): add parameters property (#11343) Aug 22, 2019
.editorconfig Polish docs (#7627) May 14, 2017
.esdoc.json docs: update links to Jul 21, 2019
.eslintrc.json chores(styling): add spacing around infix operators rules in eslint (#… Aug 6, 2019
.gitignore build: remove test*.js from .gitignore (#11108) Jun 25, 2019
.markdownlint.json build: markdown lint (#10692) Apr 3, 2019
.npmrc ci(release): update to semantic-release v11 (#8709) Dec 4, 2017
.travis.yml docs: surge need project Jul 26, 2019 chore: v5 release (#10544) Mar 13, 2019 docs: update contributing guidelines (#10549) Mar 14, 2019 fix(model): make aggregate merge attributes rather than override (#10662 Apr 22, 2019
Dockerfile chores: cleanup contribution guidelines and local testing/sscce setup ( Nov 25, 2017
LICENSE chores(license): adopt present year format and text formatting (#8657) Nov 20, 2017 docs(security): add responsible disclosure policy (#11300) Aug 11, 2019 docs(security): grammar mistakes Aug 11, 2019
appveyor.yml perf: some improvements / cleanup (#9576) Jun 21, 2018
docker-compose.yml build: remove extra volume mounts Apr 8, 2019
index.js Fix #2852, Added DEBUG support and intensive connection logging (#6117) Jun 17, 2016
package.json docs: redirect to new site Jul 26, 2019
sscce_template.js Feat 4597 : Pass through values using options.through for N:M relatio… Nov 30, 2016


npm version Travis Build Status Appveyor Build Status npm downloads codecov Last commit Merged PRs GitHub stars Bountysource Slack Status node License semantic-release

Sequelize is a promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server. It features solid transaction support, relations, eager and lazy loading, read replication and more.

Sequelize follows SEMVER. Supports Node v6 and above to use ES6 features.

New to Sequelize? Take a look at the Tutorials and Guides. You might also be interested in the API Reference.

v5 Release

You can find the upgrade guide and changelog here.

Table of Contents


$ npm install --save sequelize # This will install v5

# And one of the following:
$ npm install --save pg pg-hstore # Postgres
$ npm install --save mysql2
$ npm install --save mariadb
$ npm install --save sqlite3
$ npm install --save tedious # Microsoft SQL Server


Responsible disclosure

If you have security issues to report please refer to our Responsible Disclosure Policy for more details.





You can’t perform that action at this time.