Caching behaviors for key-values stores.
Caching behaviors for key-values stores.
(swap-in couch ns k f ttl)
Swaps the Clojure value encoded in a document using the supplied function, setting
the expiration to ttl
seconds.
nil
if not.`Swaps the Clojure value encoded in a document using the supplied function, setting the expiration to `ttl` seconds. - Returns the final value if successful, `nil` if not.`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close