pg-hstore:Clojure库旨在将Clojure映射转换为PostgreSQL hstore对象

时间:2021-05-22 00:14:06
【文件属性】:
文件名称:pg-hstore:Clojure库旨在将Clojure映射转换为PostgreSQL hstore对象
文件大小:7KB
文件格式:ZIP
更新时间:2021-05-22 00:14:06
Clojure pg-hstore Clojure库旨在将Clojure映射转换为PostgreSQL hstore对象。 安装 将pg-hstore添加到leiningen中的project.clj文件中: [pg-hstore " 3.0.3 " ] 用法 安装后,您可以像这样使用它: user> (use '[pg-hstore.core]) nil user> (def h (to-hstore {:color "blue" :size "small"})) #'user/h user> h #"small","color"=>"blue"> user> (from-hstore h) {:color "blue", :size "small"} user> 例子 如果您有一个名为“ products”的表,该表的hstore列名为“ attri
【文件预览】:
pg-hstore-master
----.gitignore(130B)
----README.md(2KB)
----CHANGELOG.md(563B)
----project.clj(921B)
----test()
--------pg_hstore()
----dev()
--------user.clj(348B)
----src()
--------pg_hstore()
----LICENSE.txt(1KB)

网友评论