Alyssa Nicoll 0ad841a423 init commit před 11 roky
..
bin 0ad841a423 init commit před 11 roky
lib 0ad841a423 init commit před 11 roky
node_modules 0ad841a423 init commit před 11 roky
.editorconfig 0ad841a423 init commit před 11 roky
.gitmodules 0ad841a423 init commit před 11 roky
.jshintrc 0ad841a423 init commit před 11 roky
.npmignore 0ad841a423 init commit před 11 roky
.travis.yml 0ad841a423 init commit před 11 roky
LICENSE 0ad841a423 init commit před 11 roky
README.md 0ad841a423 init commit před 11 roky
index.js 0ad841a423 init commit před 11 roky
package.json 0ad841a423 init commit před 11 roky
perf-internal-a.js 0ad841a423 init commit před 11 roky
perf.coffee 0ad841a423 init commit před 11 roky
perf.js 0ad841a423 init commit před 11 roky
perf.json 0ad841a423 init commit před 11 roky
polymorphic.js 0ad841a423 init commit před 11 roky
profile.txt 0ad841a423 init commit před 11 roky
v8.log 0ad841a423 init commit před 11 roky

README.md

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: