node中有同时支持mongo redis mysql的ORM框架吗?
发布于 5 年前 作者 wp3xpp 4548 次浏览 最后一次编辑是 3 年前 来自 问答


9 回复

Sails.js 号称支持任意数据库,包括楼主说的这三样。

Any database. Sails bundles a powerful ORM, Waterline, which provides a simple data access layer that just works, no matter what database you’re using. In addition to a plethora of community projects, officially supported adapters exist for MySQL, MongoDB, PostgreSQL, Redis, and local disk.



Sails.js用的是waterline github地址:


一直在潜水,今天冒泡 回答个问题。 楼主 Google 下 Sequelize。


Sequelize is a promise-based ORM for Node.js and io.js. It supports the dialects PostgreSQL, MySQL, MariaDB, SQLite and MSSQL and features solid transaction support, relations, read replication and more.