Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
This used to be the repository of the Node.JS ORM Sequelize. It has moved to: https://github.com/sequelize/sequelize
JavaScript

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
doc
examples
lib/sequelize
test
.gitignore
README.md
changelog.md
index.js
package.json

README.md

Sequelize

The Sequelize library provides easy access to a MySQL database by mapping database entries to objects and vice versa. To put it in a nutshell... it's an ORM (Object-Relational-Mapper). The library is written entirely in JavaScript and can be used in the Node.JS environment.

Features

  • Schema definition
  • Schema synchronization/dropping
  • Easy definition of class/instance methods
  • Instance saving/updating/dropping
  • Asynchronous library
  • Associations
  • Importing definitions from single files

Documentation, Examples and Updates

You can find the documentation and announcements of updates on the project's website.
If you want to know about latest development and releases, follow me on Twitter.
Also make sure to take a look at the examples in the repository. The website will contain them soon, as well.

Tests

In order to run the tests, you need the expresso framework! When installed just run:

expresso -s test/**/*
Something went wrong with that request. Please try again.