leon-sequelize
v1.0.1
Published
[![npm version](https://img.shields.io/npm/v/sequelize.svg)](https://www.npmjs.com/package/sequelize) [![Build Status](https://travis-ci.org/sequelize/sequelize.svg?branch=master)](https://travis-ci.org/sequelize/sequelize) [![Windows Build status](https:
Downloads
26
Maintainers
Readme
Sequelize
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.
Table of Contents
Installation
$ npm install --save sequelize
# And one of the following:
$ npm install --save pg pg-hstore
$ npm install --save mysql2
$ npm install --save sqlite3
$ npm install --save tedious # MSSQL
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
- English v4 (OFFICIAL)
- 中文文档 v4 (UNOFFICIAL)