Skip to content
An easy-to-use multi SQL dialect ORM for Node.js
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github chore: improve issue templates (#10708) Apr 21, 2019
docs docs: misc improvements for TS, best practises for classes and change… Apr 27, 2019
lib fix(querying): prevent `having` clause from cascading (#10859) Apr 30, 2019
scripts feat: upgrade to [email protected] (#10494) Mar 2, 2019
test fix(sync): handle alter correctly with underscored/aliased columns (#… Apr 30, 2019
types fix(types): add random function to sequelize Apr 30, 2019
.editorconfig Polish docs (#7627) May 14, 2017
.esdoc.json docs: add resources section Mar 28, 2019
.eslintrc.json chore: strict linting for code and jsdocs (#10535) Mar 13, 2019
.gitignore build: update dependencies Mar 2, 2019
.markdownlint.json build: markdown lint (#10692) Apr 3, 2019
.npmrc ci(release): update to semantic-release v11 (#8709) Dec 4, 2017
.travis.yml build(travis): run lint stage first Apr 3, 2019
CONTACT.md chore: v5 release (#10544) Mar 13, 2019
CONTRIBUTING.DOCS.md docs: update contributing guidelines (#10549) Mar 14, 2019
CONTRIBUTING.md 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
README.md docs(typescript): improve typescript docs (#10677) Apr 3, 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(typescript): improve typescript docs (#10677) Apr 3, 2019
sscce_template.js Feat 4597 : Pass through values using options.through for N:M relatio… Nov 30, 2016

README.md

Sequelize

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

Installation

$ 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

Documentation

Responsible disclosure

If you have any security issue to report, contact project maintainers privately. You can find contact information in CONTACT.md.

Resources

Tools

Learning

Translations

You can’t perform that action at this time.