An easy-to-use multi SQL dialect ORM for Node.js
JavaScript PowerShell
Latest commit 70e053c Sep 27, 2016 @turbofoxwave turbofoxwave committed with sushantdhiman Update postgres query interface (#6279)
* Fixed Issues with `createFunction` and `dropFunction` (PostgresSQL)

* line cleanup
Permalink
Failed to load latest commit information.
.github [ci skip] Add issue and pr templates, https://github.com/blog/2111-is… Mar 30, 2016
docs Linkify URLs in the docs (#6630) Sep 24, 2016
lib Update postgres query interface (#6279) Sep 27, 2016
test Update postgres query interface (#6279) Sep 27, 2016
.dockerignore new docker setup May 7, 2015
.doclets.yml Update jsdocs for doclets Jul 5, 2016
.editorconfig Add mssql to coverage calculation May 4, 2015
.eslintrc.json Add eslint (#6288) Aug 8, 2016
.gitignore chore(ci): Update build matrix (#5918) May 24, 2016
.jshintrc Auto commit disabled by default (#5960) May 28, 2016
.npmignore Updated .npmignore (#6557) Sep 8, 2016
.travis.yml ops: Build only master and v3 Sep 8, 2016
CONTACT.md Update CONTACT.md Jul 19, 2016
CONTRIBUTING.DOCS.md Use stricter jshint settings Apr 15, 2015
CONTRIBUTING.md Update CONTRIBUTING.md (#6211) Jul 4, 2016
Dockerfile fix(Model): findOrCreate should fail explicitely, not timeout, when a… ( Jun 6, 2016
LICENSE LICENSE Date Update Feb 4, 2016
README.md Docs - updated getting started link Sep 22, 2016
appveyor-setup.ps1 Run MSSQL tests in AppVeyor (#6516) Aug 30, 2016
appveyor.yml Remove Node 6.3 version pin for MSSQL (#6603) Sep 16, 2016
changelog.md Update postgres query interface (#6279) Sep 27, 2016
codecov.yml Adding codecov.yml Sep 5, 2016
docker-compose.yml new docker setup May 7, 2015
index.js Fix #2852, Added DEBUG support and intensive connection logging (#6117) Jun 17, 2016
mkdocs.yml removing references to io.js (#6329) Jul 25, 2016
package.json chore(package): update lodash to version 4.16.2 (#6634) Sep 26, 2016
sscce_template.js adds a sscce template where code can easily be copied and run inside … Apr 26, 2016

README.md

Sequelize

Build Status Windows Build status codecov Bountysource Slack Status npm License

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.

Stable (v3) documentation

Master / unstable (v4-pre) documentation

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)

Responsible disclosure

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

Resources