(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 builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |