revise RethinkDB 的 Clojure 客户端

程序名称:revise

授权协议: EPL

操作系统: 跨平台

开发语言: Java

revise 介绍

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

示例代码:

(require '[bitemyapp.revise.connection :refer [connect close]])
(require '[bitemyapp.revise.query :as r])
(require '[bitemyapp.revise.core :refer [run]])

;; connect returns the connection agent
(let [local-conn  (connect) ;; defaults to localhost
      ;; pass in connection options map to specify beyond the defaults
      remote-conn (connect {:host "99.99.99.1"
                            :port 28015
                            :auth-key ""})
      ;; running a query against a connection returns a promise, the API
      ;; and underlying implementation are asynchronous.
      response (-> (r/db "test") (r/table-create-db "authors") (run local-conn))]
  ;; dereference the promise to block on it.
  (println @response)
  ;; We are done using the connection
  (close local-conn))

revise 官网

https://github.com/bitemyapp/revise/

相关编程语言

SchemaCrawler提供一组用于增强标准JDBC Metadata的...
ER Master 是一个用于设计ER模型图的Eclipse插件。提...
Eclipse下用于画数据库ER图的插件,主要特性如下: ...
PowerDesigner 是Sybase的企业建模和设计解决方案,...
Mogwai ERDesigner NG是一个实体关系建模工具类似于...
Power*Architect 是一个数据建模工具,主要用在数据...