(find-by-id collection id)
Returns a single document with matching _id field.
Returns a single document with matching _id field.
(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