Skip to content
An easy-to-use multi SQL dialect ORM for Node.js
Branch: master
Clone or download
Pull request Compare This branch is 5 commits ahead, 737 commits behind sequelize:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
docs
lib
test
.editorconfig
.esdoc.json
.eslintrc.json
.gitignore
.mention-bot
.npmignore
.travis.yml
CONTACT.md
CONTRIBUTING.DOCS.md
CONTRIBUTING.md
Dockerfile
LICENSE
README.md
appveyor-setup.ps1
appveyor.yml
codecov.yml
docker-compose.yml
index.js
package.json
sscce_template.js

README.md

Sequelize

npm version Build Status Windows Build status codecov Bountysource Slack Status npm downloads node License semantic-release Greenkeeper badge

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.

Documentation

v4 (stable) documentation

v4 upgrade guide

v3 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

You can’t perform that action at this time.