1.7.10 • Published 7 years ago

sequelize-wa v1.7.10

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

Sequelize Bitdeli Badge Build Status Dependency Status Flattr this

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

Note

This repository has been cloned from the original repository, based on version 1.7.10:

git clone https://github.com/sequelize/sequelize.git .
git checkout -b version-1.7.10 06506d667cf82bbf8c716800ad5e4c045ba977f5

Then, a workaround has been implemented by removing setting AUTOCOMMIT, which is not supported, starting at postgres version 9.4.0.

Install

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

npm install sequelize-wa

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: