Liking cljdoc? Tell your friends :D

redis.core


appendclj

(append key val)
source

as-bytescljmacro

(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).
sourceraw docstring

atomicallycljmacro

(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.
sourceraw docstring

authclj

(auth password)
source

blpopclj

(blpop key timeout)
source

brpopclj

(brpop key timeout)
source

brpoplpushclj

(brpoplpush srckey destkey timeout)
source

configclj

(config operation param & value)
source

dbsizeclj

(dbsize)
source

decrclj

(decr key)
source

decrbyclj

(decrby key int)
source

delclj

(del key & keys)
source

discardclj

(discard)
source

execclj

(exec)
source

existsclj

(exists key)
source

expireclj

(expire key seconds)
source

flushallclj

(flushall)
source

flushdbclj

(flushdb)
source

getclj

(get key)
source

getsetclj

(getset key val)
source

hdelclj

(hdel key field)
source

hexistsclj

(hexists key field)
source

hgetclj

(hget key field)
source

hgetallclj

(hgetall key)
source

hincrbyclj

(hincrby key field val)
source

hkeysclj

(hkeys key)
source

hlenclj

(hlen key)
source

hmgetclj

(hmget key field & fields)
source

hmsetclj

(hmset key field val & fieldvals)
source

hsetclj

(hset key field val)
source

hsetnxclj

(hsetnx key field val)
source

hvalsclj

(hvals key)
source

incrclj

(incr key)
source

incrbyclj

(incrby key int)
source

infoclj

(info)
source

keysclj

(keys pattern)
source

lindexclj

(lindex key index)
source

llenclj

(llen key)
source

lpopclj

(lpop key)
source

lpushclj

(lpush key value)
source

lrangeclj

(lrange key start end)
source

lremclj

(lrem key count value)
source

lsetclj

(lset key index value)
source

ltrimclj

(ltrim key start end)
source

mgetclj

(mget key & keys)
source

moveclj

(move key dbindex)
source

msetclj

(mset key val & keyvals)
source

msetnxclj

(msetnx key val & keyvals)
source

multiclj

(multi)
source

pingclj

(ping)
source

quitclj

(quit)
source

randomkeyclj

(randomkey)
source

renameclj

(rename oldkey newkey)
source

renamenxclj

(renamenx oldkey newkey)
source

rpopclj

(rpop key)
source

rpoplpushclj

(rpoplpush srckey destkey)
source

rpushclj

(rpush key value)
source

saddclj

(sadd key member)
source

scardclj

(scard key)
source

sdiffclj

(sdiff key & keys)
source

sdiffstoreclj

(sdiffstore destkey key & keys)
source

selectclj

(select db)
source

setclj

(set key val)
source

setexclj

(setex key ttl val)
source

setnxclj

(setnx key val)
source

sinterclj

(sinter key & keys)
source

sinterstoreclj

(sinterstore destkey key & keys)
source

sismemberclj

(sismember key member)
source

smembersclj

(smembers key)
source

smoveclj

(smove srckey destkey member)
source

sortclj

(sort key & args)
source

spopclj

(spop key)
source

srandmemberclj

(srandmember key)
source

sremclj

(srem key member)
source

substrclj

(substr key start end)
source

sunionclj

(sunion key & keys)
source

sunionstoreclj

(sunionstore destkey key & keys)
source

ttlclj

(ttl key)
source

typeclj

(type key)
source

unwatchclj

(unwatch)
source

watchclj

(watch key & keys)
source

with-servercljmacro

(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)
sourceraw docstring

zaddclj

(zadd key score member)
source

zcardclj

(zcard key)
source

zcountclj

(zcount key min max)
source

zincrbyclj

(zincrby key increment member)
source

zinterstoreclj

(zinterstore destkey numkeys key & other-keys-and-options)
source

zrangeclj

(zrange key start end & options)
source

zrangebyscoreclj

(zrangebyscore key start end & options)
source

zrankclj

(zrank key member)
source

zremclj

(zrem key member)
source

zremrangebyrankclj

(zremrangebyrank key start end)
source

zremrangebyscoreclj

(zremrangebyscore key start end)
source

zrevrangeclj

(zrevrange key start end & options)
source

zrevrangebyscoreclj

(zrevrangebyscore key start end & options)
source

zrevrankclj

(zrevrank key member)
source

zscoreclj

(zscore key member)
source

zunionstoreclj

(zunionstore destkey numkeys key & other-keys-and-options)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close