(zrange this k start stop)
(zrange this k start stop opts)
(mset this kvs)
Ex: (mset [["foo" "1"] ["bar" "2"]])
Ex: (mset [["foo" "1"] ["bar" "2"]])
(rpop this k)
(set this k v)
(zscore this k m)
(rpoplpush this src dest)
(hmset this k kvs)
Ex: (hmset "my-hash" [["field-a" "val-a"] ["field-b" "val-b"]])
Ex: (hmset "my-hash" [["field-a" "val-a"] ["field-b" "val-b"]])
(hgetall this k)
(decr this k)
(unlink this k-or-ks)
(hdel this k f-or-fs)
Ex: (hdel "my-hash" "my-field") (hdel "my-hash" ["field-a" "field-b"])
Ex: (hdel "my-hash" "my-field") (hdel "my-hash" ["field-a" "field-b"])
(ping this)
(del this k-or-ks)
(exists this k)
(lpushx this k v)
(info* this)
(mget this ks)
(sunionstore this dest k-or-ks)
(randomkey this)
(get this k)
(ltrim this k start stop)
(zrevrank this k m)
(strlen this k)
(sismember this k m)
(sinterstore this dest k-or-ks)
(lrange this k start stop)
(hincrby this k f increment)
(zrank this k m)
(zcard this k)
(hvals this k)
(incr this k)
(linsert this k pos pivot v)
(hset this k f v)
(zincrby this k increment m)
(rpushx this k v)
(sadd this k m-or-ms)
Ex: (sadd "my-set" 2) (sadd "my-set" [1 2 3 4])
Ex: (sadd "my-set" 2) (sadd "my-set" [1 2 3 4])
(zadd this k kvs)
(zadd this k score m)
Add a single member with a given score, or a seq of [score member] tuples Ex: (zadd "my-zset" 2 "foo") (zadd "my-zset" [[2 "foo"] [3 "bar"]])
Add a single member with a given score, or a seq of [score member] tuples Ex: (zadd "my-zset" 2 "foo") (zadd "my-zset" [[2 "foo"] [3 "bar"]])
(scard this k)
(zcount this k min-score max-score)
(hget this k f)
(hexists this k f)
(renamenx this k new-k)
(hmget this k f-or-fs)
Ex: (hmget "my-hash" "my-field") (hmget "my-hash" ["field-a" "field-b"])
Ex: (hmget "my-hash" "my-field") (hmget "my-hash" ["field-a" "field-b"])
(lset this k idx v)
(append this k v)
(setnx this k v)
(lindex this k idx)
(getset this k v)
(zrem this k m-or-ms)
(type this k)
(dbsize this)
(srandmember this k)
(srandmember this k cnt)
(rename this k new-k)
(smembers this k)
(hincrbyfloat this k f increment)
(hkeys this k)
(srem this k m-or-ms)
(incrbyfloat this k increment)
(rpush this k v-or-vs)
Ex: (rpush "my-list" 2) (rpush "my-list" [1 2 3 4])
Ex: (rpush "my-list" 2) (rpush "my-list" [1 2 3 4])
(llen this k)
(sinter this k-or-ks)
(sunion this k-or-ks)
(keys this pat)
(hsetnx this k f v)
(lpush this k v-or-vs)
Ex: (lpush "my-list" 2) (lpush "my-list" [1 2 3 4])
Ex: (lpush "my-list" 2) (lpush "my-list" [1 2 3 4])
(getrange this k start end)
(msetnx this kvs)
(hlen this k)
(decrby this k decrement)
(lpop this k)
(msadd this kvss)
Ex: (msadd "my-set" [[1 [2 3]] 4 [5]])
Ex: (msadd "my-set" [[1 [2 3]] 4 [5]])
(zrevrange this k start stop)
(zrevrange this k start stop opts)
(sdiffstore this dest k-or-ks)
(smove this src dest m)
(info this)
(info this section)
(sdiff this k-or-ks)
(flushdb this)
(flushdb this async?)
(lrem this k cnt v)
(zrangebyscore this k min-score max-score)
(zrangebyscore this k min-score max-score opts)
(scan this cursor)
(scan this cursor opts)
opts - Optional map of :match - String key pattern, e.g. "" :count - Integer count hint, e.g. 3 Ex: (scan "0") (scan "0" {:match "my-prefix"}) (scan "0" {:match "my-prefix*" :count 10})
opts - Optional map of :match - String key pattern, e.g. "*" :count - Integer count hint, e.g. 3 Ex: (scan "0") (scan "0" {:match "my-prefix*"}) (scan "0" {:match "my-prefix*" :count 10})
(incrby this k increment)
(spop this k)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close