sequelize

Sequelize is a promise-based Node.js ORM tool for Postgres, MySQL, MariaDB, SQLite, Microsoft SQL Server, Amazon Redshift and Snowflake’s Data Cloud. It features solid transaction support, relations, eager and lazy loading, read replication and more.

MIT 627 个版本
安装
npm install sequelize
yarn add sequelize
pnpm add sequelize
bun add sequelize
README

Sequelize logo

Sequelize

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

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

Would you like to contribute? Read our contribution guidelines to know more. There are many ways to help! 😃

🚀 Seeking New Maintainers for Sequelize! 🚀

We're looking for new maintainers to help finalize and release the next major version of Sequelize! If you're passionate about open-source and database ORMs, we'd love to have you onboard.

💰 Funding Available

We distribute $2,500 per quarter among maintainers and have additional funds for full-time contributions.

🛠️ What You’ll Work On

  • Finalizing and releasing Sequelize’s next major version
  • Improving TypeScript support and database integrations
  • Fixing critical issues and shaping the ORM’s future

🤝 How to Get Involved

Interested? Join our Slack and reach out to @WikiRik or @sdepold:
➡️ sequelize.org/slack

We’d love to have you on board! 🚀

:computer: Getting Started

Ready to start using Sequelize? Head to sequelize.org to begin!

:money_with_wings: 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. ❤️

:pencil: Major version changelog

Please find upgrade information to major versions here:

:book: Resources

:wrench: Tools

:speech_balloon: Translations

:warning: Responsible disclosure

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

版本列表
7.0.0-alpha.9 2022-02-15
7.0.0-alpha.8 2022-02-11
7.0.0-alpha.7 2022-02-10
7.0.0-alpha.6 2022-02-07
7.0.0-alpha.5 2022-01-04
7.0.0-alpha.4 2022-01-01
7.0.0-alpha.3 2021-12-27
7.0.0-alpha.2 2021-12-23
7.0.0-alpha.1 2021-12-23
7.0.0-next.1 2019-07-26
7.0.0-alpha2.2 2022-01-04
7.0.0-alpha2.1 2022-01-04
6.37.8 2026-03-07
6.37.7 2025-03-28
6.37.6 2025-03-04
6.37.5 2024-10-25
6.37.4 2024-10-04
6.37.3 2024-04-13
6.37.2 2024-03-29
6.37.1 2024-02-18
6.37.0 2024-02-11
6.36.0 2024-02-02
6.35.2 2023-12-11
6.35.1 2023-11-19
6.35.0 2023-11-12
6.34.0 2023-11-03
6.33.0 2023-09-08
6.32.1 2023-06-17
6.32.0 2023-06-01
6.31.1 2023-05-01
6.31.0 2023-04-09
6.30.0 2023-03-24
6.29.3 2023-03-10
6.29.2 2023-03-09
6.29.1 2023-03-07
6.29.0 2023-02-23
6.28.2 2023-02-22
6.28.1 2023-02-21
6.28.0 2022-12-20
6.27.0 2022-12-12
6.26.0 2022-11-29
6.25.8 2022-11-22
6.25.7 2022-11-19
6.25.6 2022-11-15
6.25.5 2022-11-07
6.25.4 2022-11-05
6.25.3 2022-10-19
6.25.2 2022-10-15
6.25.1 2022-10-13
6.25.0 2022-10-11
6.24.0 2022-10-04
6.23.2 2022-09-27
6.23.1 2022-09-22
6.23.0 2022-09-17
6.22.1 2022-09-16
6.22.0 2022-09-15
6.21.6 2022-09-09
6.21.5 2022-09-08
6.21.4 2022-08-18
6.21.3 2022-07-11
6.21.2 2022-06-28
6.21.1 2022-06-25
6.21.0 2022-06-16
6.20.1 2022-05-27
6.20.0 2022-05-23
6.19.2 2022-05-18
6.19.1 2022-05-17
6.19.0 2022-04-12
6.18.0 2022-04-03
6.17.0 2022-02-25
6.16.3 2022-02-24
6.16.2 2022-02-18
6.16.1 2022-02-09
6.16.0 2022-02-08
6.15.1 2022-02-06
6.15.0 2022-01-29
6.14.1 2022-01-25
6.14.0 2022-01-22
6.13.0 2022-01-10
6.12.5 2022-01-04
6.12.4 2021-12-28
6.12.3 2021-12-27
6.12.2 2021-12-22
6.12.1 2021-12-21
6.12.0-beta.3 2021-12-12
6.12.0-beta.2 2021-12-10
6.12.0-beta.1 2021-12-04
6.12.0-alpha.1 2021-11-19
6.12.0 2021-12-17
6.11.0 2021-11-18
6.10.0 2021-11-18
6.9.0 2021-11-01
6.8.0 2021-10-24
6.7.0 2021-10-09
6.6.5 2021-07-06
6.6.4 2021-06-26
6.6.2 2021-03-23
6.6.1 2021-03-22
6.6.0 2021-03-21
6.5.1 2021-03-14
6.5.0 2021-01-27
6.4.0 2021-01-18
6.3.5 2020-09-01
6.3.4 2020-08-01
6.3.3 2020-07-11
6.3.2 2020-07-11
6.3.1 2020-07-10
6.3.0 2020-07-04
6.2.4 2020-07-01
6.2.3 2020-06-28
6.2.2 2020-06-27
6.2.1 2020-06-27
6.2.0 2020-06-26
6.1.1 2020-06-26
6.1.0 2020-06-24
6.0.0-beta.7 2020-06-24
6.0.0-beta.6 2020-05-17
6.0.0-beta.5 2020-02-20
6.0.0-beta.4 2019-12-12
6.0.0-beta.3 2019-10-20
6.0.0-beta.2 2019-10-19
6.0.0-beta.1 2019-06-12
5.22.5 2021-12-21
5.22.4 2021-03-14
5.22.3 2020-06-30
5.22.2 2020-06-27
5.22.1 2020-06-26
5.22.0 2020-06-24
5.21.13 2020-06-14
5.21.12 2020-06-05
5.21.11 2020-05-26
5.21.10 2020-05-19
5.21.9 2020-05-14
5.21.8 2020-05-10
5.21.7 2020-04-23
5.21.6 2020-04-04
5.21.5 2020-02-20
5.21.4 2020-02-07
5.21.3 2019-12-13
5.21.2 2019-10-29
5.21.1 2019-10-19
5.21.0 2019-10-18
5.20.0 2019-10-18
5.19.8 2019-10-17
5.19.7 2019-10-16
5.19.6 2019-10-11
5.19.5 2019-10-09
5.19.4 2019-10-07
5.19.3 2019-10-05
5.19.2 2019-10-01
5.19.1 2019-09-27
5.19.0 2019-09-19
5.18.4 2019-09-08
5.18.3 2019-09-08
5.18.2 2019-09-07
5.18.1 2019-09-03
5.18.0 2019-08-31
5.17.2 2019-08-30
5.17.1 2019-08-29
5.17.0 2019-08-28
5.16.0 2019-08-22
5.15.2 2019-08-21
5.15.1 2019-08-18
5.15.0 2019-08-14
5.14.0 2019-08-13
5.13.1 2019-08-11
5.13.0 2019-08-09
5.12.3 2019-08-04
5.12.2 2019-07-31
5.12.1 2019-07-30
5.12.0 2019-07-30
5.11.0 2019-07-27
5.10.3 2019-07-25
5.10.2 2019-07-23
5.10.1 2019-07-14
5.10.0 2019-07-11
5.9.5 2019-07-11
5.9.4 2019-07-06
5.9.3 2019-07-05
5.9.2 2019-07-02
5.9.1 2019-07-02
5.9.0 2019-06-28
5.8.12 2019-06-22
5.8.11 2019-06-21
5.8.10 2019-06-17
5.8.9 2019-06-11
5.8.8 2019-06-10
5.8.7 2019-05-29
5.8.6 2019-05-12
5.8.5 2019-05-05
5.8.4 2019-05-03
5.8.3 2019-05-03
5.8.2 2019-05-01
5.8.1 2019-04-30
5.8.0 2019-04-29
5.7.6 2019-04-26
5.7.5 2019-04-24
5.7.4 2019-04-22
5.7.3 2019-04-22
5.7.2 2019-04-22
5.7.1 2019-04-20
5.7.0 2019-04-18
5.6.1 2019-04-17
5.6.0 2019-04-16
5.5.1 2019-04-16
5.5.0 2019-04-15
5.4.0 2019-04-15
5.3.5 2019-04-12
5.3.4 2019-04-12
5.3.3 2019-04-12
5.3.2 2019-04-11
5.3.1 2019-04-11
5.3.0 2019-04-10
5.2.15 2019-04-09
5.2.14 2019-04-09
5.2.13 2019-04-08
5.2.12 2019-04-04
5.2.11 2019-04-03
5.2.10 2019-04-03
5.2.9 2019-04-02
5.2.8 2019-03-31
5.2.7 2019-03-30
5.2.6 2019-03-29
5.2.5 2019-03-29
5.2.4 2019-03-29
5.2.3 2019-03-28
5.2.2 2019-03-28
5.2.1 2019-03-27
5.2.0 2019-03-26
5.1.1 2019-03-23
5.1.0 2019-03-13
5.0.0-beta.17 2019-03-13
5.0.0-beta.16 2019-01-18
5.0.0-beta.15 2018-12-09
5.0.0-beta.14 2018-11-04
5.0.0-beta.13 2018-10-20
5.0.0-beta.12 2018-09-08
5.0.0-beta.11 2018-08-28
5.0.0-beta.10 2018-07-22
5.0.0-beta.9 2018-06-24
5.0.0-beta.8 2018-06-17
5.0.0-beta.7 2018-05-28
5.0.0-beta.6 2018-05-19
5.0.0-beta.5 2018-05-06
5.0.0-beta.4 2018-04-29
5.0.0-beta.3 2018-04-18
5.0.0-beta.2 2018-04-08
5.0.0-beta.1 2018-03-29
5.0.0-beta 2018-03-24
5.0.0-0 2018-03-10
4.44.4 2020-02-21
4.44.3 2019-08-18
4.44.2 2019-07-03
4.44.1 2019-07-02
4.44.0 2019-05-05
4.43.2 2019-04-15
4.43.1 2019-03-30
4.43.0 2019-03-03
4.42.1 2019-02-27
4.42.0 2018-12-13
4.41.2 2018-11-12
4.41.1 2018-11-07
4.41.0 2018-10-20
4.40.0 2018-10-19
4.39.1 2018-10-16
4.39.0 2018-09-25
4.38.1 2018-09-12
4.38.0 2018-06-21
4.37.10 2018-05-25
4.37.9 2018-05-24
4.37.8 2018-05-19
4.37.7 2018-05-07
4.37.6 2018-04-06
4.37.5 2018-03-29
4.37.4 2018-03-22
4.37.3 2018-03-20
4.37.2 2018-03-19
4.37.1 2018-03-16
4.37.0 2018-03-15
4.36.1 2018-03-13
4.36.0 2018-03-11
4.35.5 2018-03-10
4.35.4 2018-03-10
4.35.3 2018-03-10
4.35.2 2018-03-04
4.35.1 2018-03-01
4.35.0 2018-02-28
4.34.1 2018-02-27
4.34.0 2018-02-25
4.33.4 2018-02-13
4.33.3 2018-02-11
4.33.2 2018-02-09
4.33.1 2018-02-08
4.33.0 2018-02-07
4.32.7 2018-02-06
4.32.6 2018-02-03
4.32.5 2018-02-03
4.32.4 2018-02-03
4.32.3 2018-02-02
4.32.2 2018-01-26
4.32.1 2018-01-22
4.32.0 2018-01-22
4.31.2 2018-01-14
4.31.1 2018-01-13
4.31.0 2018-01-10
4.30.2 2018-01-10
4.30.1 2018-01-09
4.30.0 2018-01-09
4.29.3 2018-01-09
4.29.2 2018-01-08
4.29.1 2018-01-08
4.29.0 2018-01-05
4.28.8 2018-01-05
4.28.7 2018-01-04
4.28.6 2017-12-18
4.28.5 2017-12-16
4.28.4 2017-12-16
4.28.3 2017-12-16
4.28.2 2017-12-15
4.28.1 2017-12-13
4.28.0 2017-12-11
4.27.0 2017-12-06
4.26.0 2017-12-04
4.25.2 2017-12-04
4.25.1 2017-12-03
4.25.0 2017-12-03
4.24.0 2017-12-02
4.23.4 2017-11-30
4.23.3 2017-11-30
4.23.2 2017-11-28
4.23.1 2017-11-26
4.23.0 2017-11-25
4.22.16 2017-11-25
4.22.15 2017-11-23
4.22.14 2017-11-23
4.22.13 2017-11-23
4.22.12 2017-11-22
4.22.11 2017-11-21
4.22.10 2017-11-21
4.22.9 2017-11-20
4.22.8 2017-11-18
4.22.7 2017-11-16
4.22.6 2017-11-10
4.22.5 2017-11-05
4.22.4 2017-11-04
4.22.3 2017-11-04
4.22.2 2017-11-04
4.22.1 2017-11-03
4.22.0 2017-11-02
4.21.0 2017-11-02
4.20.3 2017-11-01
4.20.2 2017-11-01
4.20.1 2017-10-30
4.20.0 2017-10-30
4.19.0 2017-10-27
4.18.0 2017-10-26
4.17.2 2017-10-24
4.17.1 2017-10-24
4.17.0 2017-10-23
4.16.2 2017-10-23
4.16.1 2017-10-23
4.16.0 2017-10-23
4.15.2 2017-10-22
4.15.1 2017-10-21
4.15.0 2017-10-17
4.14.0 2017-10-16
4.13.17 2017-10-15
4.13.16 2017-10-15
4.13.15 2017-10-14
4.13.14 2017-10-14
4.13.13 2017-10-14
4.13.12 2017-10-14
4.13.11 2017-10-14
4.13.10 2017-10-13
4.13.9 2017-10-13
4.13.8 2017-10-09
4.13.7 2017-10-09
4.13.6 2017-10-09
4.13.5 2017-10-04
4.13.4 2017-10-04
4.13.3 2017-10-03
4.13.2 2017-10-02
4.13.1 2017-10-01
4.13.0 2017-09-30
4.12.0 2017-09-30
4.11.7 2017-09-30
4.11.6 2017-09-30
4.11.5 2017-09-29
4.11.4 2017-09-29
4.11.3 2017-09-28
4.11.2 2017-09-28
4.11.1 2017-09-26
4.11.0 2017-09-25
4.10.3 2017-09-24
4.10.2 2017-09-23
4.10.1 2017-09-23
4.10.0 2017-09-21
4.9.0 2017-09-20
4.8.4 2017-09-15
4.8.3 2017-09-11
4.8.2 2017-09-07
4.8.1 2017-09-07
4.8.0 2017-08-30
4.7.5 2017-08-24
4.7.4 2017-08-24
4.7.3 2017-08-24
4.7.2 2017-08-23
4.7.1 2017-08-23
4.7.0 2017-08-23
4.6.0 2017-08-19
4.5.0 2017-08-15
4.4.10 2017-08-14
4.4.9 2017-08-14
4.4.8 2017-08-14
4.4.7 2017-08-13
4.4.6 2017-08-13
4.4.5 2017-08-13
4.4.4 2017-08-13
4.4.3 2017-08-11
4.4.2 2017-07-22
4.4.1 2017-07-21
4.4.0 2017-07-20
4.3.2 2017-07-13
4.3.1 2017-07-11
4.3.0 2017-07-09
4.2.1 2017-06-29
4.2.0 2017-06-21
4.1.0 2017-06-12
4.0.0-2 2016-09-12
4.0.0-1 2016-08-18
4.0.0-0 2016-05-28
4.0.0 2017-06-07
3.35.1 2019-06-21
3.35.0 2019-06-20
3.34.0 2019-01-04
3.33.0 2018-05-09
3.32.1 2018-03-04
3.31.2 2018-02-09
3.31.1 2017-12-01
3.31.0 2017-11-28
3.30.4 2017-03-27
3.30.3 2017-03-24
3.30.2 2017-02-08
3.30.1 2017-01-31
3.30.0 2017-01-24
3.29.0 2017-01-06
3.28.0 2016-12-20
3.27.0 2016-11-18
3.26.0 2016-11-17
3.25.1 2016-11-16
3.25.0 2016-11-10
3.24.8 2016-11-04
3.24.7 2016-11-03
3.24.6 2016-10-25
3.24.5 2016-10-21
3.24.4 2016-10-17
3.24.3 2016-09-12
3.24.2 2016-09-07
3.24.1 2016-08-18
3.24.0 2016-08-11
3.23.6 2016-07-19
3.23.5 2016-07-19
3.23.4 2016-06-23
3.23.3 2016-05-26
3.23.2 2016-05-15
3.23.1 2016-05-12
3.23.0 2016-05-06
3.22.0 2016-04-26
3.21.0 2016-04-04
3.20.0 2016-03-21
3.19.3 2016-02-18
3.19.2 2016-02-05
3.19.1 2016-02-03
3.19.0 2016-02-01
3.18.0 2016-01-21
3.17.3 2016-01-15
3.17.2 2016-01-15
3.17.1 2016-01-06
3.17.0 2016-01-06
3.16.0 2016-01-05
3.15.1 2015-12-23
3.15.0 2015-12-16
3.14.2 2015-11-27
3.14.1 2015-11-20
3.14.0 2015-11-18
3.13.0 2015-10-27
3.12.2 2015-10-19
3.12.1 2015-10-15
3.12.0 2015-10-13
3.11.0 2015-10-04
3.10.0 2015-09-30
3.9.0 2015-09-17
3.8.0 2015-09-09
3.7.1 2015-09-03
3.7.0 2015-09-03
3.6.0 2015-08-20
3.5.1 2015-07-27
3.5.0 2015-07-27
3.4.1 2015-07-16
3.4.0 2015-07-16
3.3.2 2015-06-25
3.3.1 2015-06-23
3.3.0 2015-06-21
3.2.0 2015-06-05
3.1.1 2015-05-26
3.1.0 2015-05-22
3.0.1 2015-05-20
3.0.0 2015-05-17
2.1.3 2015-05-07
2.1.2 2015-05-07
2.1.1 2015-05-07
2.1.0 2015-04-26
2.0.6 2015-04-16
2.0.5 2015-03-21
2.0.4 2015-03-06
2.0.3 2015-02-17
2.0.2 2015-02-12
2.0.1 2015-02-11
2.0.0-beta.8 2014-01-07
2.0.0-beta.7 2014-01-04
2.0.0-beta.6 2014-01-04
2.0.0-beta.5 2013-12-30
2.0.0-beta.4 2013-12-30
2.0.0-beta.3 2013-12-30
2.0.0-beta.2 2013-12-07
2.0.0-beta.1 2013-11-02
2.0.0-beta.0 2013-09-01
2.0.0 2015-02-10
2.0.0-rc8 2015-01-20
2.0.0-rc7 2015-01-08
2.0.0-rc6 2015-01-04
2.0.0-rc5 2015-01-04
2.0.0-rc4 2014-12-22
2.0.0-rc3 2014-12-04
2.0.0-rc2 2014-10-19
2.0.0-rc1 2014-09-20
2.0.0-dev9 2014-02-25
2.0.0-dev8 2014-02-21
2.0.0-dev7 2014-02-21
2.0.0-dev6 2014-02-12
2.0.0-dev5 2014-02-07
2.0.0-dev4 2014-02-02
2.0.0-dev3 2014-01-30
2.0.0-dev2 2014-01-18
2.0.0-dev13 2014-08-27
2.0.0-dev12 2014-06-19
2.0.0-dev11 2014-04-21
2.0.0-dev10 2014-02-26
2.0.0-dev1 2014-01-11
2.0.0-alpha3 2013-08-12
2.0.0-alpha2 2013-06-10
2.0.0-alpha1 2013-06-05
1.7.11 2015-06-09
1.7.10 2014-08-27
1.7.9 2014-06-19
1.7.8 2014-06-03
1.7.7 2014-06-03
1.7.5 2014-05-11
1.7.4 2014-05-07
1.7.3 2014-04-21
1.7.2 2014-04-16
1.7.1 2014-04-15
1.7.0-beta.5 2013-12-30
1.7.0-beta.2 2013-12-07
1.7.0-beta.1 2013-11-02
1.7.0-beta.0 2013-09-01
1.7.0-beta.4a 2013-12-30
1.7.0-beta.3b 2013-12-30
1.7.0 2014-02-26
1.7.0-rc9 2014-02-25
1.7.0-rc8 2014-02-21
1.7.0-rc7 2014-02-21
1.7.0-rc6 2014-02-12
1.7.0-rc5 2014-02-07
1.7.0-rc4 2014-02-02
1.7.0-rc3 2014-01-30
1.7.0-rc2 2014-01-18
1.7.0-rc1 2014-01-11
1.7.0-beta8 2014-01-07
1.7.0-beta7 2014-01-04
1.7.0-beta6 2014-01-04
1.7.0-alpha3 2013-08-12
1.7.0-alpha2 2013-05-24
1.7.0-alpha1 2013-04-29
1.6.0-beta-3 2012-11-23
1.6.0-beta-2 2012-11-22
1.6.0-beta-1 2012-11-15
1.6.0-alpha-3 2012-11-02
1.6.0-alpha-2 2012-10-16
1.6.0-alpha-1 2012-09-30
1.6.0 2013-04-02
1.6.0-beta4 2012-11-25
1.5.0-beta-2 2012-07-15
1.5.0-beta 2012-07-05
1.5.0-alpha 2012-06-30
1.5.0 2012-08-10
1.4.1 2012-06-03
1.4.0 2012-05-02
1.3.7 2012-03-15
1.3.6 2012-03-02
1.3.5 2012-02-29
1.3.4 2012-02-24
1.3.3 2012-01-28
1.3.2 2012-01-25
1.3.1 2012-01-24
1.3.0 2012-01-03
1.2.1 2011-11-04
1.2.0 2011-10-31
1.1.4 2011-10-26
1.1.3 2011-10-24
1.1.2 2011-09-21
1.1.1 2011-09-16
1.1.0 2011-09-02
1.0.2 2011-05-24
1.0.1 2011-05-12
1.0.0 2011-05-03
0.4.3 2011-05-03
0.4.2 2011-05-03
0.4.1 2011-05-03
0.4.0 2011-05-03
0.3.0 2011-05-03
0.2.6 2011-05-03
0.2.5 2011-05-03
0.2.4 2011-05-03
0.2.3 2011-05-03
0.2.2 2011-05-03
0.0.0-development 2018-03-10