不要怂,就是干,撸起袖子干!

You need to sign in or sign up before continuing.
Name Last Update
bin Loading commit data...
docs Loading commit data...
examples Loading commit data...
lib Loading commit data...
test Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.jshintrc Loading commit data...
.npmignore Loading commit data...
.travis.yml Loading commit data...
.watchr.js Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
changelog.md Loading commit data...
index.js Loading commit data...
package.json Loading commit data...

Sequelize Bitdeli Badge Build Status Dependency Status Flattr this

MySQL, MariaDB, PostgresSQL, and SQLite Object Relational Mapper (ORM) for node.

Install

To install 1.x.x (currently 1.7.x) - which has a stable API and is mostly backwards compatible:

npm install sequelize

To install 2.x.x branch - which has a unstable API and will break backwards compatability:

npm install sequelize@unstable

Features

  • Schema definition
  • Schema synchronization/dropping
  • 1:1, 1:M & N:M Associations
  • Through models
  • Promises
  • Hooks/callbacks/lifecycle events
  • Prefetching/association including

Resources

Running Examples

Instructions for running samples are located in the example directory. Try these samples in a live sandbox environment: