(find-by-id collection id)
Returns a single document with matching _id field.
Returns a single document with matching _id field.
(get-collection schema collection-name)
Returns an existing collection from a valid schema
Returns an existing collection from a valid schema
(insert! collection document)
Saves document to collection and returns the inserted document as a persistent Clojure map.
Saves document to collection and returns the inserted document as a persistent Clojure map.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close