gugu / sequelize-1

An easy-to-use and promise-based multi SQL dialects ORM tool for Node.js | Postgres, MySQL, MariaDB, SQLite, Microsoft SQL Server & DB2

Home Page:https://sequelize.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sequelize

npm version Build Status npm downloads contributors Open Collective sponsor Merged PRs semantic-release License: MIT

Sequelize is an easy-to-use and promise-based Node.js ORM tool for Postgres, MySQL, MariaDB, SQLite, DB2, Microsoft SQL Server, and IBM i. It features solid transaction support, relations, eager and lazy loading, read replication and more.

Sequelize follows Semantic Versioning and the official Node.js LTS schedule. Version 7 of Sequelize officially supports the Node.js versions ^12.22.0, ^14.17,0, ^16.0.0. Other versions might be working as well.

New to Sequelize? Take a look at the Tutorials and Guides. You might also be interested in the API Reference.

Would you like to contribute? Read our contribution guidelines to know more. There are many ways to help! πŸ˜ƒ

πŸ“ Major version changelog

Please find upgrade information to major versions here:

πŸ’Έ Supporting the project

Do you like Sequelize and would like to give back to the engineering team behind it?

We have recently created an OpenCollective based money pool which is shared amongst all core maintainers based on their contributions. Every support is wholeheartedly welcome. ❀️

πŸ’» Installation

Installation of v6 (current stable version)

# using npm
npm i sequelize
# using yarn
yarn add sequelize

Installation of v7 (next-gen alpha version)

# using npm
npm i @sequelize/core
# using yarn
yarn add @sequelize/core
# Libraries used for supported dialects are:
# using npm
npm i pg pg-hstore # PostgreSQL
npm i mysql2 # MySQL
npm i mariadb # MariaDB
npm i sqlite3 # SQLite
npm i tedious # Microsoft SQL Server
npm i ibm_db # DB2
npm i odbc # IBM i
# using yarn
yarn add pg pg-hstore # PostgreSQL
yarn add mysql2 # MySQL
yarn add mariadb # MariaDB
yarn add sqlite3 # SQLite
yarn add tedious # Microsoft SQL Server
yarn add ibm_db # DB2
yarn add odbc # IBM i

πŸ“– Documentation

⚠️ Responsible disclosure

If you have security issues to report, please refer to our Responsible Disclosure Policy for more details.

πŸ“– Resources

πŸ”§ Tools

πŸ’¬ Translations

About

An easy-to-use and promise-based multi SQL dialects ORM tool for Node.js | Postgres, MySQL, MariaDB, SQLite, Microsoft SQL Server & DB2

https://sequelize.org/

License:MIT License


Languages

Language:JavaScript 95.4%Language:TypeScript 4.4%Language:Shell 0.2%