Skip to main content

ECHO

Echo the given string.

PING

Ping the server.

CLIENT SETINFO

Set client library name and version information.

BITCOUNT

Count set bits in a string.

BITFIELD

Perform bitwise operations between strings.

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.

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.

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

HRANDFIELD

HPERSIST

HPEXPIRE

HPEXPIREAT

HPEXPIRETIME

HPTTL

HSCAN

HSET

HSET

HSETEX

Set hash fields with expiration support.

HSETNX

HSTRLEN

HTTL

HVALS

LINDEX

LINSERT

LLEN

LMOVE

LPOP

LPOS

LPUSH

LPUSHX

LRANGE

LREM

LSET

LTRIM

RPOP

RPUSH

RPUSHX

PUBLISH

Publish messages to many clients

EVAL

EVAL_RO

EVALSHA

EVALSHA_RO

SCRIPT EXISTS

SCRIPT FLUSH

SCRIPT LOAD

DBSIZE

FLUSHALL

FLUSHDB

SADD

SCARD

SDIFF

SDIFFSTORE

SINTER

SINTERSTORE

SISMEMBER

SMEMBERS

SMISMEMBER

SMOVE

SPOP

SRANDMEMBER

SREM

SSCAN

SUNION

SUNIONSTORE

ZADD

ZCARD

ZCOUNT

ZDIFF

ZDIFFSTORE

ZINCRBY

ZINTER

ZINTERSTORE

ZLEXCOUNT

ZMSCORE

ZPOPMAX

ZPOPMIN

ZRANDMEMBER

ZRANGE

ZRANK

ZREM

ZREMRANGEBYLEX

ZREMRANGEBYRANK

ZREMRANGEBYSCORE

ZREVRANK

ZSCAN

ZSCORE

ZUNION

ZUNIONSTORE

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.

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 CREATE

Create a new consumer group for a stream.

XGROUP CREATECONSUMER

Create a new consumer in a consumer group.

XGROUP DELCONSUMER

Delete a consumer from a consumer group.

XGROUP DESTROY

Delete an entire consumer group.

XGROUP SETID

Set the last delivered ID for a consumer group.

XINFO CONSUMERS

List all consumers in a consumer group.

XINFO GROUPS

List all consumer groups for a stream.

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.

TRANSACTION

Run multiple commands in a transaction.