CNode

node中有同时支持mongo redis mysql的ORM框架吗?

问答
Wwp3xpp发布于11 年前最后回复10 年前9 回复8436 浏览0 收藏

如题

查看回复

回复 (9)

L
leapon#1·11 年前

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

L
leapon#2·11 年前

没用过Sails.js。有用过的给点建议。

W
wp3xpp#3·11 年前

sails.js是一个mvc模式的web框架呀,我只想找一个轻量级ORM框架

J
jiangli373#4·11 年前

Sails.js用的是waterline github地址:https://github.com/balderdashy/waterline

Z
zhou-yg#5·11 年前

waterline不错,随着sails诞生的,后来因为比较好用被抽离出来作为一个框架了。

G
G-martin#6·11 年前

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

F
forl#7·10 年前

@G-martin

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.

Z
zhangmingze#8·10 年前
J
jeremy16601#9·10 年前

sequelizejs

参与回复
登录后即可参与回复。登录