Auth
Auth
ECHO
Echo the given string.
PING
Ping the server.
Connection
Connection
CLIENT SETINFO
Set client library name and version information.
Bitmap
Bitmap
BITCOUNT
Count set bits in a string.
BITOP
Perform bitwise operations between strings (includes DIFF, DIFF1, ANDOR, ONE).
BITPOS
Find first bit set or clear in a string.
GETBIT
Returns the bit value at offset in the string value stored at key.
SETBIT
Sets or clears the bit at offset in the string value stored at key.
Functions
Functions
FCALL
Invoke a redis function.
FCALL_RO
Invoke a read-only redis function.
FUNCTION DELETE
Delete a library and all its functions.
FUNCTION FLUSH
Delete all the libraries and functions.
FUNCTION LIST
List information about all the libraries.
FUNCTION LOAD
Load a library to Redis.
FUNCTION STATS
Returns the number of registered functions and libraries.
Generic
Generic
DEL
Delete one or multiple keys.
EXISTS
Determine if a key exists.
EXPIRE
Set a key’s time to live in seconds.
EXPIREAT
Set the expiration for a key as a UNIX timestamp.
KEYS
Find all keys matching the given pattern.
PERSIST
Remove the expiration from a key.
PEXPIRE
Set a key’s time to live in milliseconds.
PEXPIREAT
Set the expiration for a key as a UNIX timestamp specified in milliseconds.
PTTL
Get the time to live for a key in milliseconds.
RANDOMKEY
Return a random key from the keyspace.
RENAME
Rename a key.
RENAMENX
Rename a key, only if the new key does not exist.
SCAN
Incrementally iterate the keys space.
TOUCH
Alters the last access time of a key(s). Returns the number of existing keys specified.
TTL
Get the time to live for a key.
TYPE
Determine the type stored at key.
UNLINK
Delete one or more keys.
Hash
Hash
HDEL
HEXISTS
HEXPIRE
HEXPIREAT
HEXPIRETIME
HGET
HGETALL
HGETDEL
Get and delete hash fields atomically.
HGETEX
Get hash fields with expiration support.
HINCRBY
HINCRBYFLOAT
HKEYS
HLEN
HMGET
HPERSIST
HPEXPIRE
HPEXPIREAT
HPEXPIRETIME
HPTTL
HRANDFIELD
HSCAN
HSET
HSETEX
Set hash fields with expiration support.
HSETNX
HSTRLEN
HTTL
HVALS
JSON
JSON
ARRAPPEND
ARRINDEX
ARRINSERT
ARRLEN
ARRPOP
ARRTRIM
CLEAR
DEL
FORGET
GET
MGET
MSET
MERGE
NUMINCRBY
NUMMULTBY
OBJKEYS
OBJLEN
SET
STRAPPEND
STRLEN
TOGGLE
TYPE
List
List
LINDEX
LINSERT
LLEN
LMOVE
LPOP
LPOS
LPUSH
LPUSHX
LRANGE
LREM
LSET
LTRIM
RPOP
RPUSH
RPUSHX
PubSub
PubSub
PUBLISH
Publish messages to many clients
Scripts
Scripts
EVAL
EVAL_RO
EVALSHA
EVALSHA_RO
SCRIPT EXISTS
SCRIPT FLUSH
SCRIPT LOAD
Server
Server
DBSIZE
FLUSHALL
FLUSHDB
Set
Set
SADD
SCARD
SDIFF
SDIFFSTORE
SINTER
SINTERSTORE
SISMEMBER
SMEMBERS
SMISMEMBER
SMOVE
SPOP
SRANDMEMBER
SREM
SSCAN
SUNION
SUNIONSTORE
Sorted Set
Sorted Set
ZADD
ZCARD
ZCOUNT
ZDIFFSTORE
ZINCRBY
ZINTERSTORE
ZLEXCOUNT
ZMSCORE
ZPOPMAX
ZPOPMIN
ZRANGE
ZRANK
ZREM
ZREMRANGEBYLEX
ZREMRANGEBYRANK
ZREMRANGEBYSCORE
ZREVRANK
ZSCAN
ZSCORE
ZUNIONSTORE
Stream
Stream
XADD
Appends a new entry to a stream.
XRANGE
Return a range of elements in a stream, with IDs matching the specified IDs interval.
String
String
APPEND
Append a value to a string stored at key.
DECR
Decrement the integer value of a key by one.
DECRBY
Decrement the integer value of a key by the given number.
GET
Get the value of a key.
GETDEL
Get the value of a key and delete the key.
GETRANGE
Get a substring of the string stored at a key.
GETSET
Set the string value of a key and return its old value.
INCR
Increment the integer value of a key by one.
INCRBY
Increment the integer value of a key by the given amount.
INCRBYFLOAT
Increment the float value of a key by the given amount.
MGET
Get the values of all the given keys.
MSET
Set multiple keys to multiple values.
MSETNX
Set multiple keys to multiple values, only if none of the keys exist.
SET
Set the string value of a key.
SETRANGE
Overwrite part of a string at key starting at the specified offset.
STRLEN
Get the length of the value stored in a key.
Stream
Stream
XACK
Acknowledge one or multiple messages as processed for a consumer group.
XACKDEL
Acknowledge and delete stream entries atomically.
XADD
Append a new entry to a stream (supports auto sequence numbers).
XAUTOCLAIM
Transfer ownership of pending messages to another consumer automatically.
XCLAIM
Transfer ownership of pending messages to another consumer.
XDEL
Remove one or multiple entries from a stream.
XDELEX
Extended delete for streams with reference control.
XGROUP
Manage consumer groups for Redis streams.
XINFO
Get information about streams, consumer groups, and consumers.
XLEN
Get the number of entries in a stream.
XPENDING
Get information about pending messages in a consumer group.
XRANGE
Get entries from a stream within a range of IDs.
XREAD
Read data from one or multiple streams.
XREADGROUP
Read data from streams as part of a consumer group.
XREVRANGE
Get entries from a stream within a range of IDs in reverse order.
XTRIM
Trim a stream to a specified size.
Transactions
Transactions
TRANSACTION
Run multiple commands in a transaction.