RethinkDB 的 ORM 框架 Thinky

码农软件 · 软件分类 · Node.js 扩展 · 2019-04-15 17:11:55

软件介绍

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

示例代码:

var thinky = require('thinky')();

// Create a model - the table is automatically created
var Post = thinky.createModel("Post", {
    id: String,
    title: String,
    content: String,
    idAuthor: String
}); 

var Author = thinky.createModel("Author", {
    id: String,
    name: String
});

// Join the models
Post.belongsTo(Author, "author", "idAuthor", "id");

本文地址:https://www.codercto.com/soft/d/3649.html

PHP5与MySQL5 Web开发技术详解

PHP5与MySQL5 Web开发技术详解

杜江 / 电子工业出版社 / 2007-11 / 79.00元

《PHP5与MySQL5 Web开发技术详解》(含光盘)是目前中文版本第一个真正介绍PHP5及MYSQL5新增语法与功能的权威宝典!一起来看看 《PHP5与MySQL5 Web开发技术详解》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具