decrby
(decrby this k decrement)
hdel
(hdel this k f-or-fs)
Ex:
(hdel "my-hash" "my-field")
(hdel "my-hash" ["field-a" "field-b"])
hexists
(hexists this k f)
hincrby
(hincrby this k f increment)
hincrbyfloat
(hincrbyfloat this k f increment)
hmget
(hmget this k f-or-fs)
Ex:
(hmget "my-hash" "my-field")
(hmget "my-hash" ["field-a" "field-b"])
hmset
(hmset this k kvs)
Ex:
(hmset "my-hash" [["field-a" "val-a"] ["field-b" "val-b"]])
hsetnx
(hsetnx this k f v)
incrby
(incrby this k increment)
incrbyfloat
(incrbyfloat this k increment)
lindex
(lindex this k idx)
lpush
(lpush this k v-or-vs)
Ex:
(lpush "my-list" 2)
(lpush "my-list" [1 2 3 4])
lrange
(lrange this k start stop)
mset
(mset this kvs)
Ex: (mset [["foo" "1"] ["bar" "2"]])
randomkey
(randomkey this)
rename
(rename this k new-k)
renamenx
(renamenx this k new-k)
rpush
(rpush this k v-or-vs)
Ex:
(rpush "my-list" 2)
(rpush "my-list" [1 2 3 4])
sadd
(sadd this k m-or-ms)
Ex:
(sadd "my-set" 2)
(sadd "my-set" [1 2 3 4])
scan
(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})
sdiff
(sdiff this k-or-ks)
sdiffstore
(sdiffstore this dest k-or-ks)
sinter
(sinter this k-or-ks)
sinterstore
(sinterstore this dest k-or-ks)
sismember
(sismember this k m)
smembers
(smembers this k)
smove
(smove this src dest m)
srandmember
(srandmember this k)
(srandmember this k cnt)
srem
(srem this k m-or-ms)
sunion
(sunion this k-or-ks)
sunionstore
(sunionstore this dest k-or-ks)