Sequelize is an easy-to-use multi sql dialect ORM for Node.js & io.js. It currently supports MySQL, MariaDB, SQLite, PostgreSQL and MSSQL.
Switch branches/tags
Clone or download
Pull request Compare This branch is 1053 commits behind gintsgints:master.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
lib
test
.dockerignore
.editorconfig
.gitignore
.gitmodules
.jshintrc
.npmignore
.travis.yml
CONTRIBUTING.DOCS.md
CONTRIBUTING.md
Dockerfile
LICENSE
Makefile
README.md
changelog.md
docker-compose.yml
index.js
mkdocs.yml
package.json

README.md

Sequelize

Build Status Dependency Status Test Coverage Bountysource Slack Status

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

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.

If you still use 1.7 please prefer to Upgrading to 2.0 and the changelog between 2.0 and 3.0. 2.1 also has a breaking change.

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)

Resources