(create-memory-store)
(create-memory-store data)
Create a memory store
Create a memory store
(query e query)
Items are returned using a query map
Items are returned using a query map
(aggregate e formula)
Process data records and return computed results
Process data records and return computed results
(fetch e k)
Retrieve item based on primary id
Retrieve item based on primary id
(store! e k item)
Store item against the key k
Store item against the key k
(delete-all! e)
Delete all items from a coll
Delete all items from a coll
(count-since e date-time formula)
Count the number of records that since a date-time and after applying a formula. {} for an empty formula. This is meant only for collections that contain a created-at
field.
Count the number of records that since a date-time and after applying a formula. {} for an empty formula. This is meant only for collections that contain a `created-at` field.
(store-and-create-id! e item)
Store item and return with :_id created by mongo
Store item and return with :_id created by mongo
(delete! e k)
Delete item based on primary id
Delete item based on primary id
(update! e k update-fn)
Update the item found using key k by running the update-fn on it and storing it
Update the item found using key k by running the update-fn on it and storing it
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close