Abstraction layer over various update strategies.
Abstraction layer over various update strategies.
(apply! strategy)
Persists the update and runs all side-effects.
Persists the update and runs all side-effects.
(revisioned cname restriction patch)
Revisioned
constructor.
`Revisioned` constructor.
(acquire this)
Lock documents so concurrent updates do not collide.
Lock documents so concurrent updates do not collide.
(fetch this)
Fetches affected documents.
Fetches affected documents.
(patcher this)
Builds a function which applies the patch without persisting the result. The function has a single parameter which is expected to be a document.
Builds a function which applies the patch without persisting the result. The function has a single parameter which is expected to be a document.
(query this)
MongoDB query to fetch affected documents.
MongoDB query to fetch affected documents.
(release this)
Unlocks documents so other threads can update them.
Unlocks documents so other threads can update them.
(update! this oldies newlings)
Persists patched documents.
Persists patched documents.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close