Thinky RethinkDB 的 ORM 框架开源项目

我要开发同款
匿名用户2014年04月29日
77阅读

技术信息

开源地址
https://gitee.com/mirrors/neumino-thinky
授权协议
MIT

作品详情

Thiky是一个轻量级的Node.js的ORM框架,用于支持RethikDB分布式数据库.

示例代码:

var thiky = require('thiky')();// Create a model - the table is automatically createdvar Post = thiky.createModel("Post", {    id: Strig,    title: Strig,    cotet: Strig,    idAuthor: Strig}); var Author = thiky.createModel("Author", {    id: Strig,    ame: Strig});// Joi the modelsPost.belogsTo(Author, "author", "idAuthor", "id");

功能介绍

Thinky 是一个轻量级的 Node.js 的 ORM 框架,用于支持 RethinkDB 分布式数据库. 示例代码:
var thinky = require('thinky')();
...

声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论