(as-bytes & body)
Wrap a Redis command in this macro to make it return byte array(s) instead of string(s).
Wrap a Redis command in this macro to make it return byte array(s) instead of string(s).
(atomically & body)
Execute all redis commands in body atomically, ie. sandwiched in a MULTI/EXEC statement. If an exception is thrown the EXEC command will be terminated by a DISCARD, no operations will be performed and the exception will be rethrown.
Execute all redis commands in body atomically, ie. sandwiched in a MULTI/EXEC statement. If an exception is thrown the EXEC command will be terminated by a DISCARD, no operations will be performed and the exception will be rethrown.
(with-server server-spec & body)
Evaluates body in the context of a connection to Redis server specified by server-spec.
server-spec is a map with any of the following keys: :host ("127.0.0.1") :port (6379) :db (0) :timeout (5000) :password (nil)
Evaluates body in the context of a connection to Redis server specified by server-spec. server-spec is a map with any of the following keys: :host ("127.0.0.1") :port (6379) :db (0) :timeout (5000) :password (nil)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close