Skip to content

BedquiltDB/clj-bedquilt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bedquilt

A Clojure client for BedquiltDB

Clojars Project

CircleCI

Usage

;; in a repl

(require '[bedquilt.core :as bq])

(def spec (bq/make-db-spec {:subname "//localhost/bedquilt_test"}))

(bq/create-collection spec "users")

(bq/insert spec "users" {:name "Sarah Lyons"
                         :age  24
                         :city "Edinburgh"})

(bq/find spec "users" {:city "Edinburgh"})

Documentation

http://bedquiltdb.github.io/clj-bedquilt-docs/

License

Copyright © 2016 Shane Kilkelly

Distributed under the MIT license (http://opensource.org/licenses/MIT).