70 lines
3.7 KiB
Markdown
70 lines
3.7 KiB
Markdown
# Sequelize
|
|
|
|
[](https://www.npmjs.com/package/sequelize)
|
|
[](https://travis-ci.org/sequelize/sequelize)
|
|
[](https://ci.appveyor.com/project/sushantdhiman/sequelize/branch/master)
|
|
[](https://www.npmjs.com/package/sequelize)
|
|
[](https://codecov.io/gh/sequelize/sequelize)
|
|
[](https://github.com/sequelize/sequelize)
|
|
[](https://github.com/sequelize/sequelize)
|
|
[](https://github.com/sequelize/sequelize)
|
|
[](http://sequelize-slack.herokuapp.com/)
|
|
[](https://www.npmjs.com/package/sequelize)
|
|
[](https://github.com/sequelize/sequelize/blob/master/LICENSE)
|
|
[](https://github.com/semantic-release/semantic-release)
|
|
|
|
Sequelize is a promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server. It features solid transaction support, relations, eager and lazy loading, read replication and more.
|
|
|
|
Sequelize follows [SEMVER](http://semver.org). Supports Node v6 and above to use ES6 features.
|
|
|
|
New to Sequelize? Take a look at the [Tutorials and Guides](https://sequelize.org/master). You might also be interested in the [API Reference](https://sequelize.org/master/identifiers).
|
|
|
|
## Table of Contents
|
|
- [Installation](#installation)
|
|
- [Documentation](#documentation)
|
|
- [Responsible disclosure](#responsible-disclosure)
|
|
- [Resources](#resources)
|
|
|
|
## Installation
|
|
|
|
```bash
|
|
$ npm install --save sequelize # This will install v5
|
|
|
|
# And one of the following:
|
|
$ npm install --save pg pg-hstore # Postgres
|
|
$ npm install --save mysql2
|
|
$ npm install --save mariadb
|
|
$ npm install --save sqlite3
|
|
$ npm install --save tedious # Microsoft SQL Server
|
|
```
|
|
|
|
## Documentation
|
|
- [v5 Documentation](https://sequelize.org/master)
|
|
- [v4 Documentation](https://sequelize.org/v4)
|
|
- [v3 Documentation](https://sequelize.org/v3)
|
|
- [Contributing](https://github.com/sequelize/sequelize/blob/master/CONTRIBUTING.md)
|
|
|
|
## Responsible disclosure
|
|
If you have security issues to report please refer to our [Responsible Disclosure Policy](./SECURITY.md) for more details.
|
|
|
|
## Resources
|
|
- [Changelog](https://github.com/sequelize/sequelize/releases)
|
|
- [Slack](http://sequelize-slack.herokuapp.com/)
|
|
- [Stack Overflow](https://stackoverflow.com/questions/tagged/sequelize.js)
|
|
|
|
### Tools
|
|
- [Sequelize CLI](https://github.com/sequelize/cli)
|
|
- [Sequelize & TypeScript](https://sequelize.org/master/manual/typescript.html)
|
|
- [Enhanced TypeScript with decorators](https://github.com/RobinBuschmann/sequelize-typescript)
|
|
- [Sequelize & GraphQL](https://github.com/mickhansen/graphql-sequelize)
|
|
- [Add-ons & Plugins](https://sequelize.org/master/manual/resources.html)
|
|
- [Sequelize & CockroachDB](https://github.com/cockroachdb/sequelize-cockroachdb)
|
|
|
|
### Learning
|
|
- [Getting Started](https://sequelize.org/master/manual/getting-started)
|
|
- [Express Example](https://github.com/sequelize/express-example)
|
|
|
|
### Translations
|
|
- [English v3/v4/v5](https://sequelize.org) (OFFICIAL)
|
|
- [中文文档 v4/v5](https://github.com/demopark/sequelize-docs-Zh-CN) (UNOFFICIAL)
|