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.
http://sailsjs.org/features#?database
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.
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. http://sailsjs.org/features#?database
没用过Sails.js。有用过的给点建议。
sails.js是一个mvc模式的web框架呀,我只想找一个轻量级ORM框架
Sails.js用的是waterline github地址:https://github.com/balderdashy/waterline
waterline不错,随着sails诞生的,后来因为比较好用被抽离出来作为一个框架了。
一直在潜水,今天冒泡 回答个问题。 楼主 Google 下 Sequelize。
@G-martin
Sequelize
sequelizejs