View on GitHub


Test Coverage
  <div class="center logo">
  <div class="center sequelize">Sequelize</div>

[![npm version](](
[![Travis Build Status](](
[![Appveyor Build Status](](
[![npm downloads](](
[![Last commit](](
[![Merged PRs](](
[![GitHub stars](](
[![Slack Status](](

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.

**Sequelize v5** was released on March 13, 2019. [Official TypeScript typings are now included](manual/typescript).

You are currently looking at the **Tutorials and Guides** for Sequelize. You might also be interested in the [API Reference](identifiers).

## Quick example

const Sequelize = require('sequelize');
const sequelize = new Sequelize('postgres://');

class User extends Sequelize.Model {}
  username: Sequelize.STRING,
  birthday: Sequelize.DATE
}, { sequelize, modelName: 'user' });

  .then(() => User.create({
    username: 'janedoe',
    birthday: new Date(1980, 6, 20)
  .then(jane => {

To learn more about how to use Sequelize, read the tutorials available in the left menu. Begin with [Getting Started](manual/getting-started).