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 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 |