Redis
is a wrapper around Redis connections. It supports opening a
connection using open
or open-on
, reading from and
sending to the connection (using read
and send
,
respectively), and contains thin wrappers around all Redis commands (everything
else).
append
(Fn [(Ref Redis a), b, c] (Result RESP String))
(append r key value)
is a wrapper around the append
Redis command.
It takes the same arguments as the Redis command.
auth
(Fn [(Ref Redis a), b] (Result RESP String))
(auth r password)
is a wrapper around the auth
Redis command.
It takes the same arguments as the Redis command.
bgrewriteaof
(Fn [(Ref Redis a)] (Result RESP String))
(bgrewriteaof r)
is a wrapper around the bgrewriteaof
Redis command.
It takes the same arguments as the Redis command.
bgsave
(Fn [(Ref Redis a)] (Result RESP String))
(bgsave r)
is a wrapper around the bgsave
Redis command.
It takes the same arguments as the Redis command.
bitcount
(Fn [(Ref Redis a), b] (Result RESP String))
(bitcount r key)
is a wrapper around the bitcount
Redis command.
It takes the same arguments as the Redis command.
bitfield
(Fn [(Ref Redis a), b] (Result RESP String))
(bitfield r key)
is a wrapper around the bitfield
Redis command.
It takes the same arguments as the Redis command.
bitop
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(bitop r operation destkey key)
is a wrapper around the bitop
Redis command.
It takes the same arguments as the Redis command.
bitpos
(Fn [(Ref Redis a), b, c] (Result RESP String))
(bitpos r key bit)
is a wrapper around the bitpos
Redis command.
It takes the same arguments as the Redis command.
blpop
(Fn [(Ref Redis a), b, c] (Result RESP String))
(blpop r key timeout)
is a wrapper around the blpop
Redis command.
It takes the same arguments as the Redis command.
brpop
(Fn [(Ref Redis a), b, c] (Result RESP String))
(brpop r key timeout)
is a wrapper around the brpop
Redis command.
It takes the same arguments as the Redis command.
brpoplpush
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(brpoplpush r source destination timeout)
is a wrapper around the brpoplpush
Redis command.
It takes the same arguments as the Redis command.
bzpopmax
(Fn [(Ref Redis a), b, c] (Result RESP String))
(bzpopmax r key timeout)
is a wrapper around the bzpopmax
Redis command.
It takes the same arguments as the Redis command.
bzpopmin
(Fn [(Ref Redis a), b, c] (Result RESP String))
(bzpopmin r key timeout)
is a wrapper around the bzpopmin
Redis command.
It takes the same arguments as the Redis command.
client-getname
(Fn [(Ref Redis a)] (Result RESP String))
(client-getname r)
is a wrapper around the client getname
Redis command.
It takes the same arguments as the Redis command.
client-id
(Fn [(Ref Redis a)] (Result RESP String))
(client-id r)
is a wrapper around the client id
Redis command.
It takes the same arguments as the Redis command.
client-kill
(Fn [(Ref Redis a)] (Result RESP String))
(client-kill r)
is a wrapper around the client kill
Redis command.
It takes the same arguments as the Redis command.
client-list
(Fn [(Ref Redis a)] (Result RESP String))
(client-list r)
is a wrapper around the client list
Redis command.
It takes the same arguments as the Redis command.
client-pause
(Fn [(Ref Redis a), b] (Result RESP String))
(client-pause r timeout)
is a wrapper around the client pause
Redis command.
It takes the same arguments as the Redis command.
client-reply
(Fn [(Ref Redis a)] (Result RESP String))
(client-reply r)
is a wrapper around the client reply
Redis command.
It takes the same arguments as the Redis command.
client-setname
(Fn [(Ref Redis a), b] (Result RESP String))
(client-setname r connection-name)
is a wrapper around the client setname
Redis command.
It takes the same arguments as the Redis command.
client-unblock
(Fn [(Ref Redis a), b] (Result RESP String))
(client-unblock r client-id)
is a wrapper around the client unblock
Redis command.
It takes the same arguments as the Redis command.
cluster-addslots
(Fn [(Ref Redis a), b] (Result RESP String))
(cluster-addslots r slot)
is a wrapper around the cluster addslots
Redis command.
It takes the same arguments as the Redis command.
cluster-bumpepoch
(Fn [(Ref Redis a)] (Result RESP String))
(cluster-bumpepoch r)
is a wrapper around the cluster bumpepoch
Redis command.
It takes the same arguments as the Redis command.
cluster-count-failure-reports
(Fn [(Ref Redis a), b] (Result RESP String))
(cluster-count-failure-reports r node-id)
is a wrapper around the cluster count failure reports
Redis command.
It takes the same arguments as the Redis command.
cluster-countkeysinslot
(Fn [(Ref Redis a), b] (Result RESP String))
(cluster-countkeysinslot r slot)
is a wrapper around the cluster countkeysinslot
Redis command.
It takes the same arguments as the Redis command.
cluster-delslots
(Fn [(Ref Redis a), b] (Result RESP String))
(cluster-delslots r slot)
is a wrapper around the cluster delslots
Redis command.
It takes the same arguments as the Redis command.
cluster-failover
(Fn [(Ref Redis a)] (Result RESP String))
(cluster-failover r)
is a wrapper around the cluster failover
Redis command.
It takes the same arguments as the Redis command.
cluster-flushslots
(Fn [(Ref Redis a)] (Result RESP String))
(cluster-flushslots r)
is a wrapper around the cluster flushslots
Redis command.
It takes the same arguments as the Redis command.
cluster-forget
(Fn [(Ref Redis a), b] (Result RESP String))
(cluster-forget r node-id)
is a wrapper around the cluster forget
Redis command.
It takes the same arguments as the Redis command.
cluster-getkeysinslot
(Fn [(Ref Redis a), b, c] (Result RESP String))
(cluster-getkeysinslot r slot count)
is a wrapper around the cluster getkeysinslot
Redis command.
It takes the same arguments as the Redis command.
cluster-info
(Fn [(Ref Redis a)] (Result RESP String))
(cluster-info r)
is a wrapper around the cluster info
Redis command.
It takes the same arguments as the Redis command.
cluster-keyslot
(Fn [(Ref Redis a), b] (Result RESP String))
(cluster-keyslot r key)
is a wrapper around the cluster keyslot
Redis command.
It takes the same arguments as the Redis command.
cluster-meet
(Fn [(Ref Redis a), b, c] (Result RESP String))
(cluster-meet r ip port)
is a wrapper around the cluster meet
Redis command.
It takes the same arguments as the Redis command.
cluster-myid
(Fn [(Ref Redis a)] (Result RESP String))
(cluster-myid r)
is a wrapper around the cluster myid
Redis command.
It takes the same arguments as the Redis command.
cluster-nodes
(Fn [(Ref Redis a)] (Result RESP String))
(cluster-nodes r)
is a wrapper around the cluster nodes
Redis command.
It takes the same arguments as the Redis command.
cluster-replicas
(Fn [(Ref Redis a), b] (Result RESP String))
(cluster-replicas r node-id)
is a wrapper around the cluster replicas
Redis command.
It takes the same arguments as the Redis command.
cluster-replicate
(Fn [(Ref Redis a), b] (Result RESP String))
(cluster-replicate r node-id)
is a wrapper around the cluster replicate
Redis command.
It takes the same arguments as the Redis command.
cluster-reset
(Fn [(Ref Redis a)] (Result RESP String))
(cluster-reset r)
is a wrapper around the cluster reset
Redis command.
It takes the same arguments as the Redis command.
cluster-saveconfig
(Fn [(Ref Redis a)] (Result RESP String))
(cluster-saveconfig r)
is a wrapper around the cluster saveconfig
Redis command.
It takes the same arguments as the Redis command.
cluster-set-config-epoch
(Fn [(Ref Redis a), b] (Result RESP String))
(cluster-set-config-epoch r config-epoch)
is a wrapper around the cluster set config epoch
Redis command.
It takes the same arguments as the Redis command.
cluster-setslot
(Fn [(Ref Redis a), b] (Result RESP String))
(cluster-setslot r slot)
is a wrapper around the cluster setslot
Redis command.
It takes the same arguments as the Redis command.
cluster-slaves
(Fn [(Ref Redis a), b] (Result RESP String))
(cluster-slaves r node-id)
is a wrapper around the cluster slaves
Redis command.
It takes the same arguments as the Redis command.
cluster-slots
(Fn [(Ref Redis a)] (Result RESP String))
(cluster-slots r)
is a wrapper around the cluster slots
Redis command.
It takes the same arguments as the Redis command.
command
(Fn [(Ref Redis a)] (Result RESP String))
(command r)
is a wrapper around the command
Redis command.
It takes the same arguments as the Redis command.
command-count
(Fn [(Ref Redis a)] (Result RESP String))
(command-count r)
is a wrapper around the command count
Redis command.
It takes the same arguments as the Redis command.
command-getkeys
(Fn [(Ref Redis a)] (Result RESP String))
(command-getkeys r)
is a wrapper around the command getkeys
Redis command.
It takes the same arguments as the Redis command.
command-info
(Fn [(Ref Redis a), b] (Result RESP String))
(command-info r command-name)
is a wrapper around the command info
Redis command.
It takes the same arguments as the Redis command.
config-get
(Fn [(Ref Redis a), b] (Result RESP String))
(config-get r parameter)
is a wrapper around the config get
Redis command.
It takes the same arguments as the Redis command.
config-resetstat
(Fn [(Ref Redis a)] (Result RESP String))
(config-resetstat r)
is a wrapper around the config resetstat
Redis command.
It takes the same arguments as the Redis command.
config-rewrite
(Fn [(Ref Redis a)] (Result RESP String))
(config-rewrite r)
is a wrapper around the config rewrite
Redis command.
It takes the same arguments as the Redis command.
config-set
(Fn [(Ref Redis a), b, c] (Result RESP String))
(config-set r parameter value)
is a wrapper around the config set
Redis command.
It takes the same arguments as the Redis command.
dbsize
(Fn [(Ref Redis a)] (Result RESP String))
(dbsize r)
is a wrapper around the dbsize
Redis command.
It takes the same arguments as the Redis command.
debug-object
(Fn [(Ref Redis a), b] (Result RESP String))
(debug-object r key)
is a wrapper around the debug object
Redis command.
It takes the same arguments as the Redis command.
debug-segfault
(Fn [(Ref Redis a)] (Result RESP String))
(debug-segfault r)
is a wrapper around the debug segfault
Redis command.
It takes the same arguments as the Redis command.
decr
(Fn [(Ref Redis a), b] (Result RESP String))
(decr r key)
is a wrapper around the decr
Redis command.
It takes the same arguments as the Redis command.
decrby
(Fn [(Ref Redis a), b, c] (Result RESP String))
(decrby r key decrement)
is a wrapper around the decrby
Redis command.
It takes the same arguments as the Redis command.
del
(Fn [(Ref Redis a), b] (Result RESP String))
(del r key)
is a wrapper around the del
Redis command.
It takes the same arguments as the Redis command.
discard
(Fn [(Ref Redis a)] (Result RESP String))
(discard r)
is a wrapper around the discard
Redis command.
It takes the same arguments as the Redis command.
dump
(Fn [(Ref Redis a), b] (Result RESP String))
(dump r key)
is a wrapper around the dump
Redis command.
It takes the same arguments as the Redis command.
echo
(Fn [(Ref Redis a), b] (Result RESP String))
(echo r message)
is a wrapper around the echo
Redis command.
It takes the same arguments as the Redis command.
eval
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(eval r script numkeys key)
is a wrapper around the eval
Redis command.
It takes the same arguments as the Redis command.
evalsha
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(evalsha r sha1 numkeys key)
is a wrapper around the evalsha
Redis command.
It takes the same arguments as the Redis command.
exec
(Fn [(Ref Redis a)] (Result RESP String))
(exec r)
is a wrapper around the exec
Redis command.
It takes the same arguments as the Redis command.
exists
(Fn [(Ref Redis a), b] (Result RESP String))
(exists r key)
is a wrapper around the exists
Redis command.
It takes the same arguments as the Redis command.
expire
(Fn [(Ref Redis a), b, c] (Result RESP String))
(expire r key seconds)
is a wrapper around the expire
Redis command.
It takes the same arguments as the Redis command.
expireat
(Fn [(Ref Redis a), b, c] (Result RESP String))
(expireat r key timestamp)
is a wrapper around the expireat
Redis command.
It takes the same arguments as the Redis command.
flushall
(Fn [(Ref Redis a)] (Result RESP String))
(flushall r)
is a wrapper around the flushall
Redis command.
It takes the same arguments as the Redis command.
flushdb
(Fn [(Ref Redis a)] (Result RESP String))
(flushdb r)
is a wrapper around the flushdb
Redis command.
It takes the same arguments as the Redis command.
geoadd
(Fn [(Ref Redis a), b, c, d, e] (Result RESP String))
(geoadd r key longitude latitude member)
is a wrapper around the geoadd
Redis command.
It takes the same arguments as the Redis command.
geodist
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(geodist r key member1 member2)
is a wrapper around the geodist
Redis command.
It takes the same arguments as the Redis command.
geohash
(Fn [(Ref Redis a), b, c] (Result RESP String))
(geohash r key member)
is a wrapper around the geohash
Redis command.
It takes the same arguments as the Redis command.
geopos
(Fn [(Ref Redis a), b, c] (Result RESP String))
(geopos r key member)
is a wrapper around the geopos
Redis command.
It takes the same arguments as the Redis command.
georadius
(Fn [(Ref Redis a), b, c, d, e] (Result RESP String))
(georadius r key longitude latitude radius)
is a wrapper around the georadius
Redis command.
It takes the same arguments as the Redis command.
georadiusbymember
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(georadiusbymember r key member radius)
is a wrapper around the georadiusbymember
Redis command.
It takes the same arguments as the Redis command.
get
(Fn [(Ref Redis a), b] (Result RESP String))
(get r key)
is a wrapper around the get
Redis command.
It takes the same arguments as the Redis command.
getbit
(Fn [(Ref Redis a), b, c] (Result RESP String))
(getbit r key offset)
is a wrapper around the getbit
Redis command.
It takes the same arguments as the Redis command.
getrange
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(getrange r key start end)
is a wrapper around the getrange
Redis command.
It takes the same arguments as the Redis command.
getset
(Fn [(Ref Redis a), b, c] (Result RESP String))
(getset r key value)
is a wrapper around the getset
Redis command.
It takes the same arguments as the Redis command.
hdel
(Fn [(Ref Redis a), b, c] (Result RESP String))
(hdel r key field)
is a wrapper around the hdel
Redis command.
It takes the same arguments as the Redis command.
hexists
(Fn [(Ref Redis a), b, c] (Result RESP String))
(hexists r key field)
is a wrapper around the hexists
Redis command.
It takes the same arguments as the Redis command.
hget
(Fn [(Ref Redis a), b, c] (Result RESP String))
(hget r key field)
is a wrapper around the hget
Redis command.
It takes the same arguments as the Redis command.
hgetall
(Fn [(Ref Redis a), b] (Result RESP String))
(hgetall r key)
is a wrapper around the hgetall
Redis command.
It takes the same arguments as the Redis command.
hincrby
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(hincrby r key field increment)
is a wrapper around the hincrby
Redis command.
It takes the same arguments as the Redis command.
hincrbyfloat
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(hincrbyfloat r key field increment)
is a wrapper around the hincrbyfloat
Redis command.
It takes the same arguments as the Redis command.
hkeys
(Fn [(Ref Redis a), b] (Result RESP String))
(hkeys r key)
is a wrapper around the hkeys
Redis command.
It takes the same arguments as the Redis command.
hlen
(Fn [(Ref Redis a), b] (Result RESP String))
(hlen r key)
is a wrapper around the hlen
Redis command.
It takes the same arguments as the Redis command.
hmget
(Fn [(Ref Redis a), b, c] (Result RESP String))
(hmget r key field)
is a wrapper around the hmget
Redis command.
It takes the same arguments as the Redis command.
hmset
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(hmset r key field value)
is a wrapper around the hmset
Redis command.
It takes the same arguments as the Redis command.
hscan
(Fn [(Ref Redis a), b, c] (Result RESP String))
(hscan r key cursor)
is a wrapper around the hscan
Redis command.
It takes the same arguments as the Redis command.
hset
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(hset r key field value)
is a wrapper around the hset
Redis command.
It takes the same arguments as the Redis command.
hsetnx
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(hsetnx r key field value)
is a wrapper around the hsetnx
Redis command.
It takes the same arguments as the Redis command.
hstrlen
(Fn [(Ref Redis a), b, c] (Result RESP String))
(hstrlen r key field)
is a wrapper around the hstrlen
Redis command.
It takes the same arguments as the Redis command.
hvals
(Fn [(Ref Redis a), b] (Result RESP String))
(hvals r key)
is a wrapper around the hvals
Redis command.
It takes the same arguments as the Redis command.
incr
(Fn [(Ref Redis a), b] (Result RESP String))
(incr r key)
is a wrapper around the incr
Redis command.
It takes the same arguments as the Redis command.
incrby
(Fn [(Ref Redis a), b, c] (Result RESP String))
(incrby r key increment)
is a wrapper around the incrby
Redis command.
It takes the same arguments as the Redis command.
incrbyfloat
(Fn [(Ref Redis a), b, c] (Result RESP String))
(incrbyfloat r key increment)
is a wrapper around the incrbyfloat
Redis command.
It takes the same arguments as the Redis command.
info
(Fn [(Ref Redis a)] (Result RESP String))
(info r)
is a wrapper around the info
Redis command.
It takes the same arguments as the Redis command.
keys
(Fn [(Ref Redis a), b] (Result RESP String))
(keys r pattern)
is a wrapper around the keys
Redis command.
It takes the same arguments as the Redis command.
lastsave
(Fn [(Ref Redis a)] (Result RESP String))
(lastsave r)
is a wrapper around the lastsave
Redis command.
It takes the same arguments as the Redis command.
latency-doctor
(Fn [(Ref Redis a)] (Result RESP String))
(latency-doctor r)
is a wrapper around the latency doctor
Redis command.
It takes the same arguments as the Redis command.
latency-graph
(Fn [(Ref Redis a), b] (Result RESP String))
(latency-graph r event)
is a wrapper around the latency graph
Redis command.
It takes the same arguments as the Redis command.
latency-help
(Fn [(Ref Redis a)] (Result RESP String))
(latency-help r)
is a wrapper around the latency help
Redis command.
It takes the same arguments as the Redis command.
latency-history
(Fn [(Ref Redis a), b] (Result RESP String))
(latency-history r event)
is a wrapper around the latency history
Redis command.
It takes the same arguments as the Redis command.
latency-latest
(Fn [(Ref Redis a)] (Result RESP String))
(latency-latest r)
is a wrapper around the latency latest
Redis command.
It takes the same arguments as the Redis command.
latency-reset
(Fn [(Ref Redis a)] (Result RESP String))
(latency-reset r)
is a wrapper around the latency reset
Redis command.
It takes the same arguments as the Redis command.
lindex
(Fn [(Ref Redis a), b, c] (Result RESP String))
(lindex r key index)
is a wrapper around the lindex
Redis command.
It takes the same arguments as the Redis command.
linsert
(Fn [(Ref Redis a), b, c, d, e] (Result RESP String))
(linsert r key w pivot element)
is a wrapper around the linsert
Redis command.
It takes the same arguments as the Redis command.
llen
(Fn [(Ref Redis a), b] (Result RESP String))
(llen r key)
is a wrapper around the llen
Redis command.
It takes the same arguments as the Redis command.
lolwut
(Fn [(Ref Redis a)] (Result RESP String))
(lolwut r)
is a wrapper around the lolwut
Redis command.
It takes the same arguments as the Redis command.
lpop
(Fn [(Ref Redis a), b] (Result RESP String))
(lpop r key)
is a wrapper around the lpop
Redis command.
It takes the same arguments as the Redis command.
lpush
(Fn [(Ref Redis a), b, c] (Result RESP String))
(lpush r key element)
is a wrapper around the lpush
Redis command.
It takes the same arguments as the Redis command.
lpushx
(Fn [(Ref Redis a), b, c] (Result RESP String))
(lpushx r key element)
is a wrapper around the lpushx
Redis command.
It takes the same arguments as the Redis command.
lrange
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(lrange r key start stop)
is a wrapper around the lrange
Redis command.
It takes the same arguments as the Redis command.
lrem
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(lrem r key count element)
is a wrapper around the lrem
Redis command.
It takes the same arguments as the Redis command.
lset
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(lset r key index element)
is a wrapper around the lset
Redis command.
It takes the same arguments as the Redis command.
ltrim
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(ltrim r key start stop)
is a wrapper around the ltrim
Redis command.
It takes the same arguments as the Redis command.
memory-doctor
(Fn [(Ref Redis a)] (Result RESP String))
(memory-doctor r)
is a wrapper around the memory doctor
Redis command.
It takes the same arguments as the Redis command.
memory-help
(Fn [(Ref Redis a)] (Result RESP String))
(memory-help r)
is a wrapper around the memory help
Redis command.
It takes the same arguments as the Redis command.
memory-malloc-stats
(Fn [(Ref Redis a)] (Result RESP String))
(memory-malloc-stats r)
is a wrapper around the memory malloc stats
Redis command.
It takes the same arguments as the Redis command.
memory-purge
(Fn [(Ref Redis a)] (Result RESP String))
(memory-purge r)
is a wrapper around the memory purge
Redis command.
It takes the same arguments as the Redis command.
memory-stats
(Fn [(Ref Redis a)] (Result RESP String))
(memory-stats r)
is a wrapper around the memory stats
Redis command.
It takes the same arguments as the Redis command.
memory-usage
(Fn [(Ref Redis a), b] (Result RESP String))
(memory-usage r key)
is a wrapper around the memory usage
Redis command.
It takes the same arguments as the Redis command.
mget
(Fn [(Ref Redis a), b] (Result RESP String))
(mget r key)
is a wrapper around the mget
Redis command.
It takes the same arguments as the Redis command.
migrate
(Fn [(Ref Redis a), b, c, d, e, f] (Result RESP String))
(migrate r host port key destination-db timeout)
is a wrapper around the migrate
Redis command.
It takes the same arguments as the Redis command.
module-list
(Fn [(Ref Redis a)] (Result RESP String))
(module-list r)
is a wrapper around the module list
Redis command.
It takes the same arguments as the Redis command.
module-load
(Fn [(Ref Redis a), b] (Result RESP String))
(module-load r path)
is a wrapper around the module load
Redis command.
It takes the same arguments as the Redis command.
module-unload
(Fn [(Ref Redis a), b] (Result RESP String))
(module-unload r name)
is a wrapper around the module unload
Redis command.
It takes the same arguments as the Redis command.
monitor
(Fn [(Ref Redis a)] (Result RESP String))
(monitor r)
is a wrapper around the monitor
Redis command.
It takes the same arguments as the Redis command.
move
(Fn [(Ref Redis a), b, c] (Result RESP String))
(move r key db)
is a wrapper around the move
Redis command.
It takes the same arguments as the Redis command.
mset
(Fn [(Ref Redis a), b, c] (Result RESP String))
(mset r key value)
is a wrapper around the mset
Redis command.
It takes the same arguments as the Redis command.
msetnx
(Fn [(Ref Redis a), b, c] (Result RESP String))
(msetnx r key value)
is a wrapper around the msetnx
Redis command.
It takes the same arguments as the Redis command.
multi
(Fn [(Ref Redis a)] (Result RESP String))
(multi r)
is a wrapper around the multi
Redis command.
It takes the same arguments as the Redis command.
object
(Fn [(Ref Redis a), b] (Result RESP String))
(object r subcommand)
is a wrapper around the object
Redis command.
It takes the same arguments as the Redis command.
open
(Fn [(Ref String a)] (Result Redis String))
(open host)
opens the connection to Redis on port 6379.
For variable port numbers please check out open-on
.
open-on
(Fn [(Ref String a), Int] (Result Redis String))
(open-on host port)
opens the connection to Redis on port port
.
persist
(Fn [(Ref Redis a), b] (Result RESP String))
(persist r key)
is a wrapper around the persist
Redis command.
It takes the same arguments as the Redis command.
pexpire
(Fn [(Ref Redis a), b, c] (Result RESP String))
(pexpire r key milliseconds)
is a wrapper around the pexpire
Redis command.
It takes the same arguments as the Redis command.
pexpireat
(Fn [(Ref Redis a), b, c] (Result RESP String))
(pexpireat r key milliseconds-timestamp)
is a wrapper around the pexpireat
Redis command.
It takes the same arguments as the Redis command.
pfadd
(Fn [(Ref Redis a), b, c] (Result RESP String))
(pfadd r key element)
is a wrapper around the pfadd
Redis command.
It takes the same arguments as the Redis command.
pfcount
(Fn [(Ref Redis a), b] (Result RESP String))
(pfcount r key)
is a wrapper around the pfcount
Redis command.
It takes the same arguments as the Redis command.
pfmerge
(Fn [(Ref Redis a), b, c] (Result RESP String))
(pfmerge r destkey sourcekey)
is a wrapper around the pfmerge
Redis command.
It takes the same arguments as the Redis command.
ping
(Fn [(Ref Redis a)] (Result RESP String))
(ping r)
is a wrapper around the ping
Redis command.
It takes the same arguments as the Redis command.
psetex
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(psetex r key milliseconds value)
is a wrapper around the psetex
Redis command.
It takes the same arguments as the Redis command.
psubscribe
(Fn [(Ref Redis a), b] (Result RESP String))
(psubscribe r pattern)
is a wrapper around the psubscribe
Redis command.
It takes the same arguments as the Redis command.
psync
(Fn [(Ref Redis a), b, c] (Result RESP String))
(psync r replicationid offset)
is a wrapper around the psync
Redis command.
It takes the same arguments as the Redis command.
pttl
(Fn [(Ref Redis a), b] (Result RESP String))
(pttl r key)
is a wrapper around the pttl
Redis command.
It takes the same arguments as the Redis command.
publish
(Fn [(Ref Redis a), b, c] (Result RESP String))
(publish r channel message)
is a wrapper around the publish
Redis command.
It takes the same arguments as the Redis command.
pubsub
(Fn [(Ref Redis a), b] (Result RESP String))
(pubsub r subcommand)
is a wrapper around the pubsub
Redis command.
It takes the same arguments as the Redis command.
punsubscribe
(Fn [(Ref Redis a)] (Result RESP String))
(punsubscribe r)
is a wrapper around the punsubscribe
Redis command.
It takes the same arguments as the Redis command.
quit
(Fn [(Ref Redis a)] (Result RESP String))
(quit r)
is a wrapper around the quit
Redis command.
It takes the same arguments as the Redis command.
randomkey
(Fn [(Ref Redis a)] (Result RESP String))
(randomkey r)
is a wrapper around the randomkey
Redis command.
It takes the same arguments as the Redis command.
readonly
(Fn [(Ref Redis a)] (Result RESP String))
(readonly r)
is a wrapper around the readonly
Redis command.
It takes the same arguments as the Redis command.
readwrite
(Fn [(Ref Redis a)] (Result RESP String))
(readwrite r)
is a wrapper around the readwrite
Redis command.
It takes the same arguments as the Redis command.
rename
(Fn [(Ref Redis a), b, c] (Result RESP String))
(rename r key newkey)
is a wrapper around the rename
Redis command.
It takes the same arguments as the Redis command.
renamenx
(Fn [(Ref Redis a), b, c] (Result RESP String))
(renamenx r key newkey)
is a wrapper around the renamenx
Redis command.
It takes the same arguments as the Redis command.
replicaof
(Fn [(Ref Redis a), b, c] (Result RESP String))
(replicaof r host port)
is a wrapper around the replicaof
Redis command.
It takes the same arguments as the Redis command.
restore
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(restore r key ttl serialized-value)
is a wrapper around the restore
Redis command.
It takes the same arguments as the Redis command.
role
(Fn [(Ref Redis a)] (Result RESP String))
(role r)
is a wrapper around the role
Redis command.
It takes the same arguments as the Redis command.
rpop
(Fn [(Ref Redis a), b] (Result RESP String))
(rpop r key)
is a wrapper around the rpop
Redis command.
It takes the same arguments as the Redis command.
rpoplpush
(Fn [(Ref Redis a), b, c] (Result RESP String))
(rpoplpush r source destination)
is a wrapper around the rpoplpush
Redis command.
It takes the same arguments as the Redis command.
rpush
(Fn [(Ref Redis a), b, c] (Result RESP String))
(rpush r key element)
is a wrapper around the rpush
Redis command.
It takes the same arguments as the Redis command.
rpushx
(Fn [(Ref Redis a), b, c] (Result RESP String))
(rpushx r key element)
is a wrapper around the rpushx
Redis command.
It takes the same arguments as the Redis command.
sadd
(Fn [(Ref Redis a), b, c] (Result RESP String))
(sadd r key member)
is a wrapper around the sadd
Redis command.
It takes the same arguments as the Redis command.
save
(Fn [(Ref Redis a)] (Result RESP String))
(save r)
is a wrapper around the save
Redis command.
It takes the same arguments as the Redis command.
scan
(Fn [(Ref Redis a), b] (Result RESP String))
(scan r cursor)
is a wrapper around the scan
Redis command.
It takes the same arguments as the Redis command.
scard
(Fn [(Ref Redis a), b] (Result RESP String))
(scard r key)
is a wrapper around the scard
Redis command.
It takes the same arguments as the Redis command.
script-debug
(Fn [(Ref Redis a), b] (Result RESP String))
(script-debug r mode)
is a wrapper around the script debug
Redis command.
It takes the same arguments as the Redis command.
script-exists
(Fn [(Ref Redis a), b] (Result RESP String))
(script-exists r sha1)
is a wrapper around the script exists
Redis command.
It takes the same arguments as the Redis command.
script-flush
(Fn [(Ref Redis a)] (Result RESP String))
(script-flush r)
is a wrapper around the script flush
Redis command.
It takes the same arguments as the Redis command.
script-kill
(Fn [(Ref Redis a)] (Result RESP String))
(script-kill r)
is a wrapper around the script kill
Redis command.
It takes the same arguments as the Redis command.
script-load
(Fn [(Ref Redis a), b] (Result RESP String))
(script-load r script)
is a wrapper around the script load
Redis command.
It takes the same arguments as the Redis command.
sdiff
(Fn [(Ref Redis a), b] (Result RESP String))
(sdiff r key)
is a wrapper around the sdiff
Redis command.
It takes the same arguments as the Redis command.
sdiffstore
(Fn [(Ref Redis a), b, c] (Result RESP String))
(sdiffstore r destination key)
is a wrapper around the sdiffstore
Redis command.
It takes the same arguments as the Redis command.
select
(Fn [(Ref Redis a), b] (Result RESP String))
(select r index)
is a wrapper around the select
Redis command.
It takes the same arguments as the Redis command.
send
(Fn [(Ref Redis a), b, (Ref (Array RESP) c)] ())
(send r cmd args)
sends the command cmd
with the arguments args
to Redis.
set
(Fn [(Ref Redis a), b, c] (Result RESP String))
(set r key value)
is a wrapper around the set
Redis command.
It takes the same arguments as the Redis command.
setbit
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(setbit r key offset value)
is a wrapper around the setbit
Redis command.
It takes the same arguments as the Redis command.
setex
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(setex r key seconds value)
is a wrapper around the setex
Redis command.
It takes the same arguments as the Redis command.
setnx
(Fn [(Ref Redis a), b, c] (Result RESP String))
(setnx r key value)
is a wrapper around the setnx
Redis command.
It takes the same arguments as the Redis command.
setrange
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(setrange r key offset value)
is a wrapper around the setrange
Redis command.
It takes the same arguments as the Redis command.
shutdown
(Fn [(Ref Redis a)] (Result RESP String))
(shutdown r)
is a wrapper around the shutdown
Redis command.
It takes the same arguments as the Redis command.
sinter
(Fn [(Ref Redis a), b] (Result RESP String))
(sinter r key)
is a wrapper around the sinter
Redis command.
It takes the same arguments as the Redis command.
sinterstore
(Fn [(Ref Redis a), b, c] (Result RESP String))
(sinterstore r destination key)
is a wrapper around the sinterstore
Redis command.
It takes the same arguments as the Redis command.
sismember
(Fn [(Ref Redis a), b, c] (Result RESP String))
(sismember r key member)
is a wrapper around the sismember
Redis command.
It takes the same arguments as the Redis command.
slaveof
(Fn [(Ref Redis a), b, c] (Result RESP String))
(slaveof r host port)
is a wrapper around the slaveof
Redis command.
It takes the same arguments as the Redis command.
slowlog
(Fn [(Ref Redis a), b] (Result RESP String))
(slowlog r subcommand)
is a wrapper around the slowlog
Redis command.
It takes the same arguments as the Redis command.
smembers
(Fn [(Ref Redis a), b] (Result RESP String))
(smembers r key)
is a wrapper around the smembers
Redis command.
It takes the same arguments as the Redis command.
smove
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(smove r source destination member)
is a wrapper around the smove
Redis command.
It takes the same arguments as the Redis command.
sort
(Fn [(Ref Redis a), b] (Result RESP String))
(sort r key)
is a wrapper around the sort
Redis command.
It takes the same arguments as the Redis command.
spop
(Fn [(Ref Redis a), b] (Result RESP String))
(spop r key)
is a wrapper around the spop
Redis command.
It takes the same arguments as the Redis command.
srandmember
(Fn [(Ref Redis a), b] (Result RESP String))
(srandmember r key)
is a wrapper around the srandmember
Redis command.
It takes the same arguments as the Redis command.
srem
(Fn [(Ref Redis a), b, c] (Result RESP String))
(srem r key member)
is a wrapper around the srem
Redis command.
It takes the same arguments as the Redis command.
sscan
(Fn [(Ref Redis a), b, c] (Result RESP String))
(sscan r key cursor)
is a wrapper around the sscan
Redis command.
It takes the same arguments as the Redis command.
strlen
(Fn [(Ref Redis a), b] (Result RESP String))
(strlen r key)
is a wrapper around the strlen
Redis command.
It takes the same arguments as the Redis command.
subscribe
(Fn [(Ref Redis a), b] (Result RESP String))
(subscribe r channel)
is a wrapper around the subscribe
Redis command.
It takes the same arguments as the Redis command.
sunion
(Fn [(Ref Redis a), b] (Result RESP String))
(sunion r key)
is a wrapper around the sunion
Redis command.
It takes the same arguments as the Redis command.
sunionstore
(Fn [(Ref Redis a), b, c] (Result RESP String))
(sunionstore r destination key)
is a wrapper around the sunionstore
Redis command.
It takes the same arguments as the Redis command.
swapdb
(Fn [(Ref Redis a), b, c] (Result RESP String))
(swapdb r index1 index2)
is a wrapper around the swapdb
Redis command.
It takes the same arguments as the Redis command.
sync
(Fn [(Ref Redis a)] (Result RESP String))
(sync r)
is a wrapper around the sync
Redis command.
It takes the same arguments as the Redis command.
time
(Fn [(Ref Redis a)] (Result RESP String))
(time r)
is a wrapper around the time
Redis command.
It takes the same arguments as the Redis command.
touch
(Fn [(Ref Redis a), b] (Result RESP String))
(touch r key)
is a wrapper around the touch
Redis command.
It takes the same arguments as the Redis command.
ttl
(Fn [(Ref Redis a), b] (Result RESP String))
(ttl r key)
is a wrapper around the ttl
Redis command.
It takes the same arguments as the Redis command.
type
(Fn [(Ref Redis a), b] (Result RESP String))
(type r key)
is a wrapper around the type
Redis command.
It takes the same arguments as the Redis command.
unlink
(Fn [(Ref Redis a), b] (Result RESP String))
(unlink r key)
is a wrapper around the unlink
Redis command.
It takes the same arguments as the Redis command.
unsubscribe
(Fn [(Ref Redis a)] (Result RESP String))
(unsubscribe r)
is a wrapper around the unsubscribe
Redis command.
It takes the same arguments as the Redis command.
unwatch
(Fn [(Ref Redis a)] (Result RESP String))
(unwatch r)
is a wrapper around the unwatch
Redis command.
It takes the same arguments as the Redis command.
update-sock
(Fn [Redis, (Ref (Fn [Socket] Socket a) b)] Redis)
updates the sock
property of a Redis
using a function f
.
wait
(Fn [(Ref Redis a), b, c] (Result RESP String))
(wait r numreplicas timeout)
is a wrapper around the wait
Redis command.
It takes the same arguments as the Redis command.
watch
(Fn [(Ref Redis a), b] (Result RESP String))
(watch r key)
is a wrapper around the watch
Redis command.
It takes the same arguments as the Redis command.
xack
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(xack r key group ID)
is a wrapper around the xack
Redis command.
It takes the same arguments as the Redis command.
xadd
(Fn [(Ref Redis a), b, c, d, e] (Result RESP String))
(xadd r key ID field value)
is a wrapper around the xadd
Redis command.
It takes the same arguments as the Redis command.
xclaim
(Fn [(Ref Redis a), b, c, d, e, f] (Result RESP String))
(xclaim r key group consumer min-idle-time ID)
is a wrapper around the xclaim
Redis command.
It takes the same arguments as the Redis command.
xdel
(Fn [(Ref Redis a), b, c] (Result RESP String))
(xdel r key ID)
is a wrapper around the xdel
Redis command.
It takes the same arguments as the Redis command.
xgroup
(Fn [(Ref Redis a)] (Result RESP String))
(xgroup r)
is a wrapper around the xgroup
Redis command.
It takes the same arguments as the Redis command.
xinfo
(Fn [(Ref Redis a)] (Result RESP String))
(xinfo r)
is a wrapper around the xinfo
Redis command.
It takes the same arguments as the Redis command.
xlen
(Fn [(Ref Redis a), b] (Result RESP String))
(xlen r key)
is a wrapper around the xlen
Redis command.
It takes the same arguments as the Redis command.
xpending
(Fn [(Ref Redis a), b, c] (Result RESP String))
(xpending r key group)
is a wrapper around the xpending
Redis command.
It takes the same arguments as the Redis command.
xrange
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(xrange r key start end)
is a wrapper around the xrange
Redis command.
It takes the same arguments as the Redis command.
xread
(Fn [(Ref Redis a)] (Result RESP String))
(xread r)
is a wrapper around the xread
Redis command.
It takes the same arguments as the Redis command.
xreadgroup
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(xreadgroup r GROUP group consumer)
is a wrapper around the xreadgroup
Redis command.
It takes the same arguments as the Redis command.
xrevrange
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(xrevrange r key end start)
is a wrapper around the xrevrange
Redis command.
It takes the same arguments as the Redis command.
xtrim
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(xtrim r key MAXLEN count)
is a wrapper around the xtrim
Redis command.
It takes the same arguments as the Redis command.
zadd
(Fn [(Ref Redis a), b] (Result RESP String))
(zadd r key)
is a wrapper around the zadd
Redis command.
It takes the same arguments as the Redis command.
zcard
(Fn [(Ref Redis a), b] (Result RESP String))
(zcard r key)
is a wrapper around the zcard
Redis command.
It takes the same arguments as the Redis command.
zcount
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(zcount r key min max)
is a wrapper around the zcount
Redis command.
It takes the same arguments as the Redis command.
zincrby
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(zincrby r key increment member)
is a wrapper around the zincrby
Redis command.
It takes the same arguments as the Redis command.
zinterstore
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(zinterstore r destination numkeys key)
is a wrapper around the zinterstore
Redis command.
It takes the same arguments as the Redis command.
zlexcount
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(zlexcount r key min max)
is a wrapper around the zlexcount
Redis command.
It takes the same arguments as the Redis command.
zpopmax
(Fn [(Ref Redis a), b] (Result RESP String))
(zpopmax r key)
is a wrapper around the zpopmax
Redis command.
It takes the same arguments as the Redis command.
zpopmin
(Fn [(Ref Redis a), b] (Result RESP String))
(zpopmin r key)
is a wrapper around the zpopmin
Redis command.
It takes the same arguments as the Redis command.
zrange
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(zrange r key start stop)
is a wrapper around the zrange
Redis command.
It takes the same arguments as the Redis command.
zrangebylex
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(zrangebylex r key min max)
is a wrapper around the zrangebylex
Redis command.
It takes the same arguments as the Redis command.
zrangebyscore
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(zrangebyscore r key min max)
is a wrapper around the zrangebyscore
Redis command.
It takes the same arguments as the Redis command.
zrank
(Fn [(Ref Redis a), b, c] (Result RESP String))
(zrank r key member)
is a wrapper around the zrank
Redis command.
It takes the same arguments as the Redis command.
zrem
(Fn [(Ref Redis a), b, c] (Result RESP String))
(zrem r key member)
is a wrapper around the zrem
Redis command.
It takes the same arguments as the Redis command.
zremrangebylex
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(zremrangebylex r key min max)
is a wrapper around the zremrangebylex
Redis command.
It takes the same arguments as the Redis command.
zremrangebyrank
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(zremrangebyrank r key start stop)
is a wrapper around the zremrangebyrank
Redis command.
It takes the same arguments as the Redis command.
zremrangebyscore
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(zremrangebyscore r key min max)
is a wrapper around the zremrangebyscore
Redis command.
It takes the same arguments as the Redis command.
zrevrange
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(zrevrange r key start stop)
is a wrapper around the zrevrange
Redis command.
It takes the same arguments as the Redis command.
zrevrangebylex
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(zrevrangebylex r key max min)
is a wrapper around the zrevrangebylex
Redis command.
It takes the same arguments as the Redis command.
zrevrangebyscore
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(zrevrangebyscore r key max min)
is a wrapper around the zrevrangebyscore
Redis command.
It takes the same arguments as the Redis command.
zrevrank
(Fn [(Ref Redis a), b, c] (Result RESP String))
(zrevrank r key member)
is a wrapper around the zrevrank
Redis command.
It takes the same arguments as the Redis command.
zscan
(Fn [(Ref Redis a), b, c] (Result RESP String))
(zscan r key cursor)
is a wrapper around the zscan
Redis command.
It takes the same arguments as the Redis command.
zscore
(Fn [(Ref Redis a), b, c] (Result RESP String))
(zscore r key member)
is a wrapper around the zscore
Redis command.
It takes the same arguments as the Redis command.
zunionstore
(Fn [(Ref Redis a), b, c, d] (Result RESP String))
(zunionstore r destination numkeys key)
is a wrapper around the zunionstore
Redis command.
It takes the same arguments as the Redis command.