Liking cljdoc? Tell your friends :D

celtuce.commands


bitfield-argsclj

(bitfield-args & commands)

Constructs a BitFieldArgs from a chain of commands

Constructs a BitFieldArgs from a chain of commands
sourceraw docstring

chunked-scan-seqcljmacro

(chunked-scan-seq scan-expr)

Takes a scan EXPR composed of:

  • a command: "scan", "sscan", "hscan", "zscan"
  • a key when the command is not "scan"
  • optionals: ScanCursor c, ScanArgs args Returns a lazy seq that calls scan-res on each cursor iteration result (chunk).
Takes a scan EXPR composed of:
 - a command: "scan", "sscan", "hscan", "zscan"
 - a key when the command is not "scan"
 - optionals: ScanCursor c, ScanArgs args
Returns a lazy seq that calls scan-res on each cursor iteration result (chunk).
sourceraw docstring

geo-argsclj

(geo-args &
          {with-dist :with-dist
           with-coord :with-coord
           with-hash :with-hash
           count :count
           sort :sort})
source

GeoCommandscljprotocol

Redis Geo Commands

Redis Geo Commands

geoaddclj

(geoadd this key lng-lat-members)
(geoadd this key long lat member)

Single or multiple geo add

Single or multiple geo add

geodistclj

(geodist this key from to unit)

Retrieve distance between points from and to

Retrieve distance between points from and to

geohashclj

(geohash this key member)

Retrieve Geohash of a member of a geospatial index

Retrieve Geohash of a member of a geospatial index

geoposclj

(geopos this key member)

Get geo coordinates for the member

Get geo coordinates for the member

georadiusclj

(georadius this key long lat dist unit)
(georadius this key long lat dist unit args)

Retrieve members selected by dist with the center of long last, Perform a georadius query and store the results in a zset

Retrieve members selected by dist with the center of long last,
Perform a georadius query and store the results in a zset

georadiusbymemberclj

(georadiusbymember this key member dist unit)
(georadiusbymember this key member dist unit args)

Retrieve members selected by dist with the center of member, Perform a georadiusbymember query and store the results in a zset

Retrieve members selected by dist with the center of member,
Perform a georadiusbymember query and store the results in a zset

mgeohashclj

(mgeohash this key members)

Retrieve Geohash of multiple members of a geospatial index

Retrieve Geohash of multiple members of a geospatial index

mgeoposclj

(mgeopos this key members)

Get geo coordinates for the members

Get geo coordinates for the members
sourceraw docstring

georadius-store-argsclj

(georadius-store-args
  &
  {store-key :store-key store-dist-key :store-dist-key count :count sort :sort})
source

HashCommandscljprotocol

Redis Hash Commands

Redis Hash Commands

hmsetclj

(hmset this key map)

Set multiple hash fields to multiple values (map)

Set multiple hash fields to multiple values (map)

hgetallclj

(hgetall this key)

Get all the fields and values in a hash

Get all the fields and values in a hash

hdelclj

(hdel this key field)

Delete one hash field

Delete one hash field

hmdelclj

(hmdel this key fields)

Delete multiple hash fields

Delete multiple hash fields

hincrbyclj

(hincrby this key field amount)

Increment the value of a hash field by long

Increment the value of a hash field by long

hvalsclj

(hvals this key)

Get all the values in a hash

Get all the values in a hash

hsetclj

(hset this key field val)

Set the string value of a hash field

Set the string value of a hash field

hscanclj

(hscan this key)
(hscan this key cursor)
(hscan this key cursor args)

Incrementally iterate hash fields and associated values

Incrementally iterate hash fields and associated values

hgetclj

(hget this key field)

Get the value of a hash field

Get the value of a hash field

hexistsclj

(hexists this key field)

Determine if a hash field exists

Determine if a hash field exists

hmgetclj

(hmget this key fields)

Get the values of all the given hash fields

Get the values of all the given hash fields

hincrbyfloatclj

(hincrbyfloat this key field amount)

Increment the value of a hash field by double

Increment the value of a hash field by double

hkeysclj

(hkeys this key)

Get all the fields in a hash

Get all the fields in a hash

hsetnxclj

(hsetnx this key field val)

Set the value of a hash field, only if it doesn't exist

Set the value of a hash field, only if it doesn't exist

hlenclj

(hlen this key)

Get the number of fields in a hash

Get the number of fields in a hash

hstrlenclj

(hstrlen this key field)

Get the string length of the field value in a hash

Get the string length of the field value in a hash
sourceraw docstring

HLLCommandscljprotocol

Redis HLL Commands

Redis HLL Commands

mpfaddclj

(mpfadd this key vals)

Add the specified elements to the specified HyperLogLog

Add the specified elements to the specified HyperLogLog

mpfcountclj

(mpfcount this keys)

Return the approximated cardinality of the sets (HyperLogLog) at keys

Return the approximated cardinality of the sets (HyperLogLog) at keys

pfaddclj

(pfadd this key val)

Add the specified element to the specified HyperLogLog

Add the specified element to the specified HyperLogLog

pfcountclj

(pfcount this key)

Return the approximated cardinality of the set (HyperLogLog) at key

Return the approximated cardinality of the set (HyperLogLog) at key

pfmergeclj

(pfmerge this dest keys)

Merge N different HyperLogLogs into a single one

Merge N different HyperLogLogs into a single one
sourceraw docstring

hscan-seqclj

(hscan-seq cmds key)
(hscan-seq cmds key args)

Lazy HSCAN sequence, takes optional scan-args

Lazy HSCAN sequence, takes optional scan-args
sourceraw docstring

KeyCommandscljprotocol

Redis Key Commands

Redis Key Commands

obj-idletimeclj

(obj-idletime this key)

Number of sec the key's value is idle (no read/write)

Number of sec the key's value is idle (no read/write)

mexistsclj

(mexists this keys)

Determine how many keys exist

Determine how many keys exist

sort-storeclj

(sort-store this key args dest)

Sort and store the result in destination key

Sort and store the result in destination key

dumpclj

(dump this key)

Serialized version of the value stored at the key

Serialized version of the value stored at the key

unlinkclj

(unlink this key)

Unlink one key (non blocking DEL)

Unlink one key (non blocking DEL)

sortclj

(sort this key)
(sort this key args)

Sort the elements in a list, set or sorted set

Sort the elements in a list, set or sorted set

delclj

(del this key)

Delete one key

Delete one key

existsclj

(exists this key)

Determine whether key exists

Determine whether key exists

obj-refcountclj

(obj-refcount this key)

Number of references of the key's value

Number of references of the key's value

randomkeyclj

(randomkey this)

Return a random key from the keyspace

Return a random key from the keyspace

expireatclj

(expireat this key ts-sec)

Set the expiration for a key as a UNIX timestamp

Set the expiration for a key as a UNIX timestamp

pttlclj

(pttl this key)

Get the time to live for a key in milliseconds

Get the time to live for a key in milliseconds

munlinkclj

(munlink this keys)

Unlink multiple keys (non blocking DEL)

Unlink multiple keys (non blocking DEL)

restoreclj

(restore this key ttl val)

Create a key using a serialized value obtained by DUMP

Create a key using a serialized value obtained by DUMP

migrateclj

(migrate this host port db timeout-ms args)

Transfer a key from a Redis instance to another one

Transfer a key from a Redis instance to another one

moveclj

(move this key db)

Move a key to another database

Move a key to another database

renamenxclj

(renamenx this key1 key2)

Rename a key, only if the new key does not exist

Rename a key, only if the new key does not exist

expireclj

(expire this key sec)

Set a key's time to live in seconds

Set a key's time to live in seconds

persistclj

(persist this key)

Remove the expiration from a key

Remove the expiration from a key

typeclj

(type this key)

Determine the type stored at key

Determine the type stored at key

mtouchclj

(mtouch this keys)

Touch multiple keys. Sets the keys last accessed time

Touch multiple keys. Sets the keys last accessed time

renameclj

(rename this key1 key2)

Rename a key

Rename a key

keysclj

(keys this pattern)

Find all keys matching the given pattern

Find all keys matching the given pattern

pexpireatclj

(pexpireat this key ts-ms)

Set the expiration for a key as a UNIX timestamp in ms

Set the expiration for a key as a UNIX timestamp in ms

pexpireclj

(pexpire this key ttl-ms)

Set a key's time to live in milliseconds

Set a key's time to live in milliseconds

ttlclj

(ttl this key)

Get the time to live for a key

Get the time to live for a key

obj-encodingclj

(obj-encoding this key)

Internal representation used to store the key's value

Internal representation used to store the key's value

touchclj

(touch this key)

Touch one key. Sets the key last accessed time

Touch one key. Sets the key last accessed time

mdelclj

(mdel this keys)

Delete multiple keys

Delete multiple keys

scanclj

(scan this)
(scan this cursor)
(scan this cursor args)

Incrementally iterate the keys space

Incrementally iterate the keys space
sourceraw docstring

kill-argsclj

(kill-args & {skipme :skipme addr :addr id :id type :type})
source

ListCommandscljprotocol

Redis List Commands

Redis List Commands

rpopclj

(rpop this key)

Remove and get the last element in a list

Remove and get the last element in a list

brpoplpushclj

(brpoplpush this timeout-sec src dest)

Pop and push to another list, return the elem (blocking)

Pop and push to another list, return the elem (blocking)

mrpushxclj

(mrpushx this key vals)

Append multiple values to a list, only if the list exists

Append multiple values to a list, only if the list exists

rpoplpushclj

(rpoplpush this src dest)

Pop and push to another list, return the elem

Pop and push to another list, return the elem

mlpushclj

(mlpush this key vals)

Prepend multiple values to a list

Prepend multiple values to a list

mlpushxclj

(mlpushx this key vals)

Prepend multiple values, only if the list exists

Prepend multiple values, only if the list exists

lpushxclj

(lpushx this key val)

Prepend a value to a list, only if the list exists

Prepend a value to a list, only if the list exists

ltrimclj

(ltrim this key start end)

Trim a list to the specified range

Trim a list to the specified range

lrangeclj

(lrange this key start end)

Get a range of elements from a list

Get a range of elements from a list

linsertclj

(linsert this key before? pivot val)

Insert an elem before or after another elem in a list

Insert an elem before or after another elem in a list

rpushxclj

(rpushx this key val)

Append a value to a list, only if the list exists

Append a value to a list, only if the list exists

lsetclj

(lset this key idx v)

Set the value of an element in a list by its index

Set the value of an element in a list by its index

lindexclj

(lindex this key idx)

Get an element from a list by its index

Get an element from a list by its index

rpushclj

(rpush this key val)

Append one value to a list

Append one value to a list

llenclj

(llen this key)

Get the length of a list

Get the length of a list

lpushclj

(lpush this key val)

Prepend one value to a list

Prepend one value to a list

blpopclj

(blpop this timeout-sec keys)

Remove and get the first elem (block until there's one)

Remove and get the first elem (block until there's one)

lpopclj

(lpop this key)

Remove and get the first element in a list

Remove and get the first element in a list

brpopclj

(brpop this timeout-sec keys)

Remove and get the last elem (block until there's one)

Remove and get the last elem (block until there's one)

lremclj

(lrem this key count val)

Remove elements from a list

Remove elements from a list

mrpushclj

(mrpush this key vals)

Append multiple values to a list

Append multiple values to a list
sourceraw docstring

migrate-argsclj

(migrate-args & {copy :copy replace :replace k :key ks :keys})
source

PubSubCommandscljprotocol

Redis PubSub Commands

Redis PubSub Commands

subscribeclj

(subscribe this channel)

Listen for messages published to channel

Listen for messages published to channel

publishclj

(publish this channel message)

Post a message to a channel

Post a message to a channel

pubsub-numpatclj

(pubsub-numpat this)

Returns the number of subscriptions to patterns

Returns the number of subscriptions to patterns

mpsubscribeclj

(mpsubscribe this pattern)

Listen for messages published to channels matching patterns

Listen for messages published to channels matching patterns

pubsub-channelsclj

(pubsub-channels this)
(pubsub-channels this channel)

Lists the currently active channels

Lists the currently *active channels*

unsubscribeclj

(unsubscribe this channel)

Stop listening for messages posted to channel

Stop listening for messages posted to channel

psubscribeclj

(psubscribe this pattern)

Listen for messages published to channels matching pattern

Listen for messages published to channels matching pattern

msubscribeclj

(msubscribe this channels)

Listen for messages published to channels

Listen for messages published to channels

pubsub-numsubclj

(pubsub-numsub this channel)

Returns the number of subscribers for the specified channel

Returns the number of subscribers for the specified channel

munsubscribeclj

(munsubscribe this channels)

Stop listening for messages posted to channels

Stop listening for messages posted to channels

mpunsubscribeclj

(mpunsubscribe this pattern)

Stop listening for messages posted to channels matching patterns

Stop listening for messages posted to channels matching patterns

punsubscribeclj

(punsubscribe this pattern)

Stop listening for messages posted to channels matching pattern

Stop listening for messages posted to channels matching pattern
sourceraw docstring

PubSubListenercljprotocol

Protocol for redis pub/sub listeners

Protocol for redis pub/sub listeners

messageclj

(message this channel message)
(message this pattern channel message)

Message received from a channel (or pattern) subscription

Message received from a channel (or pattern) subscription

psubscribedclj

(psubscribed this pattern count)

Subscribed to a pattern

Subscribed to a pattern

punsubscribedclj

(punsubscribed this pattern count)

Unsubscribed from a pattern

Unsubscribed from a pattern

subscribedclj

(subscribed this channel count)

Subscribed to a channel

Subscribed to a channel

unsubscribedclj

(unsubscribed this channel count)

Unsubscribed from a channel

Unsubscribed from a channel
sourceraw docstring

scan-argsclj

(scan-args & {limit :limit match :match})
source

scan-cursorclj

(scan-cursor)
(scan-cursor cursor)
source

scan-resclj

(scan-res this)

Get the data contained in a scan cursor result

Get the data contained in a scan cursor result
sourceraw docstring

scan-seqclj

(scan-seq cmds)
(scan-seq cmds args)

Lazy SCAN sequence, takes optional scan-args

Lazy SCAN sequence, takes optional scan-args
sourceraw docstring

ScriptingCommandscljprotocol

Redis Scripting Commands (Lua 5.1)

Redis Scripting Commands (Lua 5.1)

digestclj

(digest this script)

Create a SHA1 digest from a Lua script

Create a SHA1 digest from a Lua script

evalclj

(eval this script type keys)
(eval this script type keys vals)

Execute a Lua script server side

Execute a Lua script server side

evalshaclj

(evalsha this digest type keys)
(evalsha this digest type keys vals)

Evaluates a script cached on the server side by its SHA1 digest

Evaluates a script cached on the server side by its SHA1 digest

script-exists?clj

(script-exists? this digests)

Check existence of scripts in the script cache

Check existence of scripts in the script cache

script-flushclj

(script-flush this)

Remove all the scripts from the script cache

Remove all the scripts from the script cache

script-killclj

(script-kill this)

Kill the script currently in execution

Kill the script currently in execution

script-loadclj

(script-load this script)

Load the specified Lua script into the script cache

Load the specified Lua script into the script cache
sourceraw docstring

ServerCommandscljprotocol

Redis Server Commands

Redis Server Commands

slowlog-getclj

(slowlog-get this)
(slowlog-get this count)

Read the slow log

Read the slow log

debug-htstatsclj

(debug-htstats this db)

Get debugging information about the internal hash-table state

Get debugging information about the internal hash-table state

bgrewriteaofclj

(bgrewriteaof this)

Asynchronously rewrite the append-only file

Asynchronously rewrite the append-only file

debug-segfaultclj

(debug-segfault this)

Make the server crash: Invalid pointer access

Make the server crash: Invalid pointer access

shutdownclj

(shutdown this save?)

Synchronously save the dataset to disk and shutdown the server

Synchronously save the dataset to disk and shutdown the server

client-killclj

(client-kill this addr-or-args)

Kill the connection of a client identified by ip:port, or args

Kill the connection of a client identified by ip:port, or args

debug-oomclj

(debug-oom this)

Make the server crash: Out of memory

Make the server crash: Out of memory

command-infoclj

(command-info this commands)

Return an array reply of details about the requested commands

Return an array reply of details about the requested commands

slowlog-lenclj

(slowlog-len this)

Obtaining the current length of the slow log

Obtaining the current length of the slow log

client-setnameclj

(client-setname this name)

Set the current connection name

Set the current connection name

slowlog-resetclj

(slowlog-reset this)

Resetting the slow log

Resetting the slow log

slaveof-no-oneclj

(slaveof-no-one this)

Promote server as master

Promote server as master

slaveofclj

(slaveof this host port)

Make the server a slave of another server, or promote it as master

Make the server a slave of another server, or promote it as master

client-pauseclj

(client-pause this timeout-ms)

Stop processing commands from clients for some time

Stop processing commands from clients for some time

flushallclj

(flushall this)

Remove all keys from all databases

Remove all keys from all databases

config-rewriteclj

(config-rewrite this)

Rewrite the configuration file with the in memory configuration

Rewrite the configuration file with the in memory configuration

command-countclj

(command-count this)

Get total number of Redis commands

Get total number of Redis commands

debug-restartclj

(debug-restart this delay-ms)

Restart the server gracefully

Restart the server gracefully

debug-crash-recovclj

(debug-crash-recov this delay-ms)

Crash and recover

Crash and recover

timeclj

(time this)

Return the current server time

Return the current server time

client-listclj

(client-list this)

Get the list of client connections

Get the list of client connections

debug-reloadclj

(debug-reload this)

Save RDB, clear the database and reload RDB

Save RDB, clear the database and reload RDB

debug-objectclj

(debug-object this key)

Get debugging information about a key

Get debugging information about a key

commandclj

(command this)

Return an array reply of details about all Redis commands

Return an array reply of details about all Redis commands

dbsizeclj

(dbsize this)

Return the number of keys in the selected database

Return the number of keys in the selected database

bgsaveclj

(bgsave this)

Asynchronously save the dataset to disk

Asynchronously save the dataset to disk

saveclj

(save this)

Synchronously save the dataset to disk

Synchronously save the dataset to disk

debug-sds-lenclj

(debug-sds-len this key)

Get debugging information about the internal SDS length

Get debugging information about the internal SDS length

flushdb-asyncclj

(flushdb-async this)

Remove all keys asynchronously from the current database

Remove all keys asynchronously from the current database

config-getclj

(config-get this param)

Get the value of a configuration parameter

Get the value of a configuration parameter

flushall-asyncclj

(flushall-async this)

Remove all keys asynchronously from all databases

Remove all keys asynchronously from all databases

config-setclj

(config-set this param val)

Set a configuration parameter to the given value

Set a configuration parameter to the given value

infoclj

(info this)
(info this section)

Get information and statistics about the server

Get information and statistics about the server

lastsaveclj

(lastsave this)

Get the UNIX time stamp of the last successful save to disk

Get the UNIX time stamp of the last successful save to disk

flushdbclj

(flushdb this)

Remove all keys from the current database

Remove all keys from the current database

client-getnameclj

(client-getname this)

Get the current connection name

Get the current connection name

config-resetstatclj

(config-resetstat this)

Reset the stats returned by INFO

Reset the stats returned by INFO
sourceraw docstring

set-argsclj

(set-args & {ex :ex px :px nx :nx xx :xx})
source

SetCommandscljprotocol

Redis Set Commands

Redis Set Commands

msremclj

(msrem this key members)

Remove multiple members from a set

Remove multiple members from a set

sunionstoreclj

(sunionstore this dest keys)

Add multiple sets and store the resulting set in a key

Add multiple sets and store the resulting set in a key

sismemberclj

(sismember this key val)

Determine if a given value is a member of a set

Determine if a given value is a member of a set

sinterstoreclj

(sinterstore this dest keys)

Intersect multiple sets and store the resulting set in a key

Intersect multiple sets and store the resulting set in a key

saddclj

(sadd this key member)

Add one member to a set

Add one member to a set

scardclj

(scard this key)

Get the number of members in a set

Get the number of members in a set

srandmemberclj

(srandmember this key)
(srandmember this key count)

Get one or multiple random members from a set

Get one or multiple random members from a set

smembersclj

(smembers this key)

Get all the members in a set

Get all the members in a set

sremclj

(srem this key member)

Remove one member from a set

Remove one member from a set

sinterclj

(sinter this keys)

Intersect multiple sets

Intersect multiple sets

sunionclj

(sunion this keys)

Add multiple sets

Add multiple sets

sscanclj

(sscan this key)
(sscan this key cursor)
(sscan this key cursor args)

Incrementally iterate set elements

Incrementally iterate set elements

msaddclj

(msadd this key members)

Add multiple members to a set

Add multiple members to a set

sdiffstoreclj

(sdiffstore this dest keys)

Subtract multiple sets and store the resulting set in a key

Subtract multiple sets and store the resulting set in a key

smoveclj

(smove this key dest member)

Move a member from one set to another

Move a member from one set to another

sdiffclj

(sdiff this keys)

Subtract multiple sets

Subtract multiple sets

spopclj

(spop this key)
(spop this key count)

Remove and return one or multiple random members from a set

Remove and return one or multiple random members from a set
sourceraw docstring

sort-argsclj

(sort-args &
           {by :by
            [offset count :as limit] :limit
            get :get
            asc :asc
            desc :desc
            alpha :alpha})
source

SortedSetCommandscljprotocol

Redis Sorted Set Commands

Redis Sorted Set Commands

zrangeclj

(zrange this key start end)

Return a range of members in a sorted set, by index (scores asc)

Return a range of members in a sorted set, by index (scores asc)

zremrangebyscoreclj

(zremrangebyscore this key min max)

Remove all members in a sorted set within the given scores

Remove all members in a sorted set within the given scores

zscoreclj

(zscore this key member)

Get the score associated with the given member in a sorted set.

Get the score associated with the given member in a sorted set.

zrevrange-withscoresclj

(zrevrange-withscores this key start end)

zinterstoreclj

(zinterstore this dest keys)
(zinterstore this dest args keys)

Intersect multiple sorted sets ks, store the result in a new key d

Intersect multiple sorted sets ks, store the result in a new key d

mzremclj

(mzrem this key members)

Remove multiple members from a sorted set

Remove multiple members from a sorted set

zscanclj

(zscan this key)
(zscan this key cursor)
(zscan this key cursor args)

Incrementally iterate sorted sets elements and associated scores

Incrementally iterate sorted sets elements and associated scores

zremrangebyrankclj

(zremrangebyrank this key start end)

Remove all members in a sorted set within the given indexes

Remove all members in a sorted set within the given indexes

zrange-withscoresclj

(zrange-withscores this key start end)

zunionstoreclj

(zunionstore this dest keys)
(zunionstore this dest args keys)

Add multiple sorted sets ks, store the result in a new key d

Add multiple sorted sets ks, store the result in a new key d

zrevrankclj

(zrevrank this key member)

Determine the index of a member in a sorted set (score desc)

Determine the index of a member in a sorted set (score desc)

zrankclj

(zrank this key member)

Determine the index of a member in a sorted set (score asc)

Determine the index of a member in a sorted set (score asc)

zcardclj

(zcard this key)

Get the number of members in a sorted set

Get the number of members in a sorted set

zincrbyclj

(zincrby this key amount member)

Increment the score of a member in a sorted set

Increment the score of a member in a sorted set

zrangebylexclj

(zrangebylex this key min max)
(zrangebylex this key min max offset count)

Return a range of members in a sorted set, by lexicographical range

Return a range of members in a sorted set, by lexicographical range

zaddclj

(zadd this key score member)
(zadd this key args score member)

Add one member to a sorted set (update score if exists)

Add one member to a sorted set (update score if exists)

zcountclj

(zcount this key min max)

Count the members in a sorted set with scores within [min max]

Count the members in a sorted set with scores within [min max]

zremclj

(zrem this key member)

Remove one member from a sorted set

Remove one member from a sorted set

zremrangebylexclj

(zremrangebylex this key min max)

Remove all members in a sorted set in a given lexicographical range

Remove all members in a sorted set in a given lexicographical range

mzaddclj

(mzadd this key scored-members)
(mzadd this key args scored-members)

Add multiple members to a sorted set (update scores if exist)

Add multiple members to a sorted set (update scores if exist)

zlexcountclj

(zlexcount this key min max)

Count the members in a sorted set in a given lexicographical range

Count the members in a sorted set in a given lexicographical range

zrangebyscore-withscoresclj

(zrangebyscore-withscores this key min max)
(zrangebyscore-withscores this key min max offset count)

zaddincrclj

(zaddincr this key score member)

Increment the score of a member in a sorted set

Increment the score of a member in a sorted set

zrevrangeclj

(zrevrange this key start end)

Return a range of members in a sorted set, by index (scores desc)

Return a range of members in a sorted set, by index (scores desc)

zrevrangebyscoreclj

(zrevrangebyscore this key min max)
(zrevrangebyscore this key min max offset count)

Return a range of members in a sorted set, by score (scores desc)

Return a range of members in a sorted set, by score (scores desc)

zrevrangebyscore-withscoresclj

(zrevrangebyscore-withscores this key min max)
(zrevrangebyscore-withscores this key min max offset count)

zrangebyscoreclj

(zrangebyscore this key min max)
(zrangebyscore this key min max offset count)

Return a range of members in a sorted set, by score (scores asc)

Return a range of members in a sorted set, by score (scores asc)
sourceraw docstring

sscan-seqclj

(sscan-seq cmds key)
(sscan-seq cmds key args)

Lazy SSCAN sequence, takes optional scan-args

Lazy SSCAN sequence, takes optional scan-args
sourceraw docstring

StringsCommandscljprotocol

Redis Strings Commands

Redis Strings Commands

msetclj

(mset this map)

Set multiple keys to multiple values (map)

Set multiple keys to multiple values (map)

bitfieldclj

(bitfield this key args)

Execute BITFIELD with its subcommands

Execute BITFIELD with its subcommands

bitop-xorclj

(bitop-xor this dest keys)

Perform bitwise XOR between strings

Perform bitwise XOR between strings

setexclj

(setex this key ttl-sec val)

Set the value and expiration of a key

Set the value and expiration of a key

setclj

(set this key val)
(set this key val args)

Set the string value of a key

Set the string value of a key

getbitclj

(getbit this key offset)

Get the bit value at offset in the key's string value

Get the bit value at offset in the key's string value

decrclj

(decr this key)

Decrement the integer value of a key by one

Decrement the integer value of a key by one

psetexclj

(psetex this key ttl-ms val)

Set the value and expiration in milliseconds of a key

Set the value and expiration in milliseconds of a key

bitop-orclj

(bitop-or this dest keys)

Perform bitwise OR between strings

Perform bitwise OR between strings

mgetclj

(mget this keys)

Get the values of all the given keys

Get the values of all the given keys

bitcountclj

(bitcount this key)
(bitcount this key start end)

Count the bits set to 1 in a string

Count the bits set to 1 in a string

bitop-andclj

(bitop-and this dest keys)

Perform bitwise AND between strings

Perform bitwise AND between strings

getclj

(get this key)

Get the value of a key

Get the value of a key

bitop-notclj

(bitop-not this dest key)

Perform bitwise NOT between strings

Perform bitwise NOT between strings

strlenclj

(strlen this key)

Get the length of the value stored in a key

Get the length of the value stored in a key

setrangeclj

(setrange this key offset val)

Overwrite part of a string at key starting at the offset

Overwrite part of a string at key starting at the offset

incrclj

(incr this key)

Increment the integer value of a key by one

Increment the integer value of a key by one

appendclj

(append this key val)

Append a value to a key

Append a value to a key

setnxclj

(setnx this key val)

Set the value of a key, only if the key does not exist

Set the value of a key, only if the key does not exist

getsetclj

(getset this key val)

Set the string value of a key and return its old value

Set the string value of a key and return its old value

bitposclj

(bitpos this key state)
(bitpos this key state start end)

Find first bit set or clear in a string

Find first bit set or clear in a string

incrbyfloatclj

(incrbyfloat this key amount)

Increment the float value of a key by the given amount

Increment the float value of a key by the given amount

getrangeclj

(getrange this key start end)

Get a substring of the string stored at a key

Get a substring of the string stored at a key

msetnxclj

(msetnx this map)

Like mset, but only if none of the keys exist

Like mset, but only if none of the keys exist

decrbyclj

(decrby this key amount)

Decrement the integer value of a key by the given number

Decrement the integer value of a key by the given number

incrbyclj

(incrby this key amount)

Increment the integer value of a key by the given amount

Increment the integer value of a key by the given amount

setbitclj

(setbit this key offset val)

Sets or clears the bit at offset in the key's string value

Sets or clears the bit at offset in the key's string value
sourceraw docstring

TransactionalCommandscljprotocol

Redis Transactional Commands

Redis Transactional Commands

discardclj

(discard this)

Discard all commands issued after MULTI

Discard all commands issued after MULTI

execclj

(exec this)

Execute all commands issued after MULTI

Execute all commands issued after MULTI

multiclj

(multi this)

Mark the start of a transaction block

Mark the start of a transaction block

mwatchclj

(mwatch this keys)

Watch keys to determine execution of a transaction

Watch keys to determine execution of a transaction

unwatchclj

(unwatch this)

Forget about all watched keys

Forget about all watched keys

watchclj

(watch this key)

Watch key to determine execution of a transaction

Watch key to determine execution of a transaction
sourceraw docstring

zscan-seqclj

(zscan-seq cmds key)
(zscan-seq cmds key args)

Lazy ZSCAN sequence, takes optional scan-args

Lazy ZSCAN sequence, takes optional scan-args
sourceraw docstring

zstore-argsclj

(zstore-args agg & weights)
source

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

× close