revise RethinkDB 的 Clojure 客户端开源项目

我要开发同款
匿名用户2013年11月05日
63阅读

技术信息

开源地址
https://github.com/bitemyapp/revise/
授权协议
EPL

作品详情

revise是RethikDB的Clojure客户端开发包。特点是:异步、无锁、高效以及易用。

示例代码:

(require'[bitemyapp.revise.coectio:refer[coectclose]])(require'[bitemyapp.revise.query:asr])(require'[bitemyapp.revise.core:refer[ru]]);;coectretursthecoectioaget(let[local-co(coect);;defaultstolocalhost;;passicoectiooptiosmaptospecifybeyodthedefaultsremote-co(coect{:host"99.99.99.1":port28015:auth-key""});;ruigaqueryagaistacoectioretursapromise,theAPI;;aduderlyigimplemetatioareasychroous.respose(->(r/db"test")(r/table-create-db"authors")(rulocal-co))];;dereferecethepromisetoblockoit.(pritl@respose);;Wearedoeusigthecoectio(closelocal-co))

功能介绍

revise 是 RethinkDB 的 Clojure 客户端开发包。特点是:异步、无锁、高效以及易用。 示例代码:
(require '[bitemyapp.revise.connect...

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

评论