Skip to content

konnecteam/sequelize

 
 

Repository files navigation

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, Microsoft SQL Server and Oracle. It features solid transaction support, relations, read replication and more.

Table of Contents

Installation

$ npm install --save sequelize

# And one of the following:
$ npm install --save pg@6 pg-hstore # Note that `pg@7` is not supported yet
$ npm install --save mysql2
$ npm install --save sqlite3
$ npm install --save tedious # MSSQL
$ npm install --save oracledb # Oracle

Sequelize follows SEMVER. Supports 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

Documentation

Resources

Tools

Learning

Translations

About

An alternative to original Sequelize, rugged, with Oracle support

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%