Command compatibility ===================== This document is generated by parsing the `official redis command documentation `_ .. currentmodule:: coredis Generic ^^^^^^^ COPY **** Copies the value of a key to a new key. - Documentation: `COPY `_ - Implementation: :meth:`~coredis.Redis.copy` - New in redis: 6.2.0 - .. versionadded:: 3.0.0 DEL *** Deletes one or more keys. - Documentation: `DEL `_ - Implementation: :meth:`~coredis.Redis.delete` DUMP **** Returns a serialized representation of the value stored at a key. - Documentation: `DUMP `_ - Implementation: :meth:`~coredis.Redis.dump` EXISTS ****** Determines whether one or more keys exist. - Documentation: `EXISTS `_ - Implementation: :meth:`~coredis.Redis.exists` EXPIRE ****** Sets the expiration time of a key in seconds. - Documentation: `EXPIRE `_ - Implementation: :meth:`~coredis.Redis.expire` EXPIREAT ******** Sets the expiration time of a key to a Unix timestamp. - Documentation: `EXPIREAT `_ - Implementation: :meth:`~coredis.Redis.expireat` EXPIRETIME ********** Returns the expiration time of a key as a Unix timestamp. - Documentation: `EXPIRETIME `_ - Implementation: :meth:`~coredis.Redis.expiretime` - New in redis: 7.0.0 - .. versionadded:: 3.0.0 KEYS **** Returns all key names that match a pattern. - Documentation: `KEYS `_ - Implementation: :meth:`~coredis.Redis.keys` MIGRATE ******* Atomically transfers a key from one Redis instance to another. - Documentation: `MIGRATE `_ - Implementation: :meth:`~coredis.Redis.migrate` - .. versionadded:: 3.0.0 MOVE **** Moves a key to another database. - Documentation: `MOVE `_ - Implementation: :meth:`~coredis.Redis.move` OBJECT ENCODING *************** Returns the internal encoding of a Redis object. - Documentation: `OBJECT ENCODING `_ - Implementation: :meth:`~coredis.Redis.object_encoding` OBJECT FREQ *********** Returns the logarithmic access frequency counter of a Redis object. - Documentation: `OBJECT FREQ `_ - Implementation: :meth:`~coredis.Redis.object_freq` OBJECT IDLETIME *************** Returns the time since the last access to a Redis object. - Documentation: `OBJECT IDLETIME `_ - Implementation: :meth:`~coredis.Redis.object_idletime` OBJECT REFCOUNT *************** Returns the reference count of a value of a key. - Documentation: `OBJECT REFCOUNT `_ - Implementation: :meth:`~coredis.Redis.object_refcount` PERSIST ******* Removes the expiration time of a key. - Documentation: `PERSIST `_ - Implementation: :meth:`~coredis.Redis.persist` PEXPIRE ******* Sets the expiration time of a key in milliseconds. - Documentation: `PEXPIRE `_ - Implementation: :meth:`~coredis.Redis.pexpire` PEXPIREAT ********* Sets the expiration time of a key to a Unix milliseconds timestamp. - Documentation: `PEXPIREAT `_ - Implementation: :meth:`~coredis.Redis.pexpireat` PEXPIRETIME *********** Returns the expiration time of a key as a Unix milliseconds timestamp. - Documentation: `PEXPIRETIME `_ - Implementation: :meth:`~coredis.Redis.pexpiretime` - New in redis: 7.0.0 - .. versionadded:: 3.0.0 PTTL **** Returns the expiration time in milliseconds of a key. - Documentation: `PTTL `_ - Implementation: :meth:`~coredis.Redis.pttl` RANDOMKEY ********* Returns a random key name from the database. - Documentation: `RANDOMKEY `_ - Implementation: :meth:`~coredis.Redis.randomkey` RENAME ****** Renames a key and overwrites the destination. - Documentation: `RENAME `_ - Implementation: :meth:`~coredis.Redis.rename` RENAMENX ******** Renames a key only when the target key name doesn't exist. - Documentation: `RENAMENX `_ - Implementation: :meth:`~coredis.Redis.renamenx` RESTORE ******* Creates a key from the serialized representation of a value. - Documentation: `RESTORE `_ - Implementation: :meth:`~coredis.Redis.restore` SCAN **** Iterates over the key names in the database. - Documentation: `SCAN `_ - Implementation: :meth:`~coredis.Redis.scan` SORT **** Sorts the elements in a list, a set, or a sorted set, optionally storing the result. - Documentation: `SORT `_ - Implementation: :meth:`~coredis.Redis.sort` SORT_RO ******* Returns the sorted elements of a list, a set, or a sorted set. - Documentation: `SORT_RO `_ - Implementation: :meth:`~coredis.Redis.sort_ro` - New in redis: 7.0.0 - .. versionadded:: 3.0.0 TOUCH ***** Returns the number of existing keys out of those specified after updating the time they were last accessed. - Documentation: `TOUCH `_ - Implementation: :meth:`~coredis.Redis.touch` TTL *** Returns the expiration time in seconds of a key. - Documentation: `TTL `_ - Implementation: :meth:`~coredis.Redis.ttl` TYPE **** Determines the type of value stored at a key. - Documentation: `TYPE `_ - Implementation: :meth:`~coredis.Redis.type` UNLINK ****** Asynchronously deletes one or more keys. - Documentation: `UNLINK `_ - Implementation: :meth:`~coredis.Redis.unlink` WAIT **** Blocks until the asynchronous replication of all preceding write commands sent by the connection is completed. - Documentation: `WAIT `_ - Implementation: :meth:`~coredis.Redis.wait` .. warning:: Using :meth:`~coredis.Redis.wait` directly is not recommended. Use the :meth:`Redis.ensure_replication` or :meth:`RedisCluster.ensure_replication` context managers to ensure a command is replicated to the number of replicas WAITAOF ******* Blocks until all of the preceding write commands sent by the connection are written to the append-only file of the master and/or replicas. - Documentation: `WAITAOF `_ - Implementation: :meth:`~coredis.Redis.waitaof` .. warning:: Using :meth:`~coredis.Redis.waitaof` directly is not recommended. Use the :meth:`Redis.ensure_persistence` or :meth:`RedisCluster.ensure_persistence` context managers to ensure a command is synced to the AOF of the number of local hosts or replicas - New in redis: 7.2.0 - .. versionadded:: 4.12.0 String ^^^^^^ APPEND ****** Appends a string to the value of a key. Creates the key if it doesn't exist. - Documentation: `APPEND `_ - Implementation: :meth:`~coredis.Redis.append` DECR **** Decrements the integer value of a key by one. Uses 0 as initial value if the key doesn't exist. - Documentation: `DECR `_ - Implementation: :meth:`~coredis.Redis.decr` DECRBY ****** Decrements a number from the integer value of a key. Uses 0 as initial value if the key doesn't exist. - Documentation: `DECRBY `_ - Implementation: :meth:`~coredis.Redis.decrby` DELEX ***** Conditionally removes the specified key based on value or digest comparison. - Documentation: `DELEX `_ - Implementation: :meth:`~coredis.Redis.delex` - New in redis: 8.4.0 DIGEST ****** Returns the XXH3 hash of a string value. - Documentation: `DIGEST `_ - Implementation: :meth:`~coredis.Redis.digest` - New in redis: 8.4.0 GET *** Returns the string value of a key. - Documentation: `GET `_ - Implementation: :meth:`~coredis.Redis.get` - Supports client caching: yes GETDEL ****** Returns the string value of a key after deleting the key. - Documentation: `GETDEL `_ - Implementation: :meth:`~coredis.Redis.getdel` - New in redis: 6.2.0 GETEX ***** Returns the string value of a key after setting its expiration time. - Documentation: `GETEX `_ - Implementation: :meth:`~coredis.Redis.getex` - New in redis: 6.2.0 GETRANGE ******** Returns a substring of the string stored at a key. - Documentation: `GETRANGE `_ - Implementation: :meth:`~coredis.Redis.getrange` - Supports client caching: yes GETSET ****** Returns the previous string value of a key after setting it to a new value. - Documentation: `GETSET `_ - Implementation: :meth:`~coredis.Redis.getset` - Deprecated in redis: 6.2.0. Use :meth:`~coredis.Redis.set` with the ``_get`` argument INCR **** Increments the integer value of a key by one. Uses 0 as initial value if the key doesn't exist. - Documentation: `INCR `_ - Implementation: :meth:`~coredis.Redis.incr` INCRBY ****** Increments the integer value of a key by a number. Uses 0 as initial value if the key doesn't exist. - Documentation: `INCRBY `_ - Implementation: :meth:`~coredis.Redis.incrby` INCRBYFLOAT *********** Increment the floating point value of a key by a number. Uses 0 as initial value if the key doesn't exist. - Documentation: `INCRBYFLOAT `_ - Implementation: :meth:`~coredis.Redis.incrbyfloat` LCS *** Finds the longest common substring. - Documentation: `LCS `_ - Implementation: :meth:`~coredis.Redis.lcs` - New in redis: 7.0.0 - .. versionadded:: 3.0.0 MGET **** Atomically returns the string values of one or more keys. - Documentation: `MGET `_ - Implementation: :meth:`~coredis.Redis.mget` MSET **** Atomically creates or modifies the string values of one or more keys. - Documentation: `MSET `_ - Implementation: :meth:`~coredis.Redis.mset` MSETEX ****** Atomically sets multiple string keys with a shared expiration in a single operation. Supports flexible argument parsing where condition and expiration flags can appear in any order. - Documentation: `MSETEX `_ - Implementation: :meth:`~coredis.Redis.msetex` - New in redis: 8.4.0 MSETNX ****** Atomically modifies the string values of one or more keys only when all keys don't exist. - Documentation: `MSETNX `_ - Implementation: :meth:`~coredis.Redis.msetnx` PSETEX ****** Sets both string value and expiration time in milliseconds of a key. The key is created if it doesn't exist. - Documentation: `PSETEX `_ - Implementation: :meth:`~coredis.Redis.psetex` - Deprecated in redis: 2.6.12. Use :meth:`~coredis.Redis.set` with the ``px`` argument SET *** Sets the string value of a key, ignoring its type. The key is created if it doesn't exist. - Documentation: `SET `_ - Implementation: :meth:`~coredis.Redis.set` SETEX ***** Sets the string value and expiration time of a key. Creates the key if it doesn't exist. - Documentation: `SETEX `_ - Implementation: :meth:`~coredis.Redis.setex` - Deprecated in redis: 2.6.12. Use :meth:`~coredis.Redis.set` with the ``ex`` argument SETNX ***** Set the string value of a key only when the key doesn't exist. - Documentation: `SETNX `_ - Implementation: :meth:`~coredis.Redis.setnx` - Deprecated in redis: 2.6.12. Use :meth:`~coredis.Redis.set` with the ``nx`` argument SETRANGE ******** Overwrites a part of a string value with another by an offset. Creates the key if it doesn't exist. - Documentation: `SETRANGE `_ - Implementation: :meth:`~coredis.Redis.setrange` STRLEN ****** Returns the length of a string value. - Documentation: `STRLEN `_ - Implementation: :meth:`~coredis.Redis.strlen` - Supports client caching: yes SUBSTR ****** Returns a substring from a string value. - Documentation: `SUBSTR `_ - Implementation: :meth:`~coredis.Redis.substr` - Deprecated in redis: 2.0.0. Use :meth:`~coredis.Redis.getrange` - Supports client caching: yes Bitmap ^^^^^^ BITCOUNT ******** Counts the number of set bits (population counting) in a string. - Documentation: `BITCOUNT `_ - Implementation: :meth:`~coredis.Redis.bitcount` BITFIELD ******** Performs arbitrary bitfield integer operations on strings. - Documentation: `BITFIELD `_ - Implementation: :meth:`~coredis.Redis.bitfield` BITFIELD_RO *********** Performs arbitrary read-only bitfield integer operations on strings. - Documentation: `BITFIELD_RO `_ - Implementation: :meth:`~coredis.Redis.bitfield_ro` - New in redis: 6.0.0 BITOP ***** Performs bitwise operations on multiple strings, and stores the result. - Documentation: `BITOP `_ - Implementation: :meth:`~coredis.Redis.bitop` BITPOS ****** Finds the first set (1) or clear (0) bit in a string. - Documentation: `BITPOS `_ - Implementation: :meth:`~coredis.Redis.bitpos` GETBIT ****** Returns a bit value by offset. - Documentation: `GETBIT `_ - Implementation: :meth:`~coredis.Redis.getbit` SETBIT ****** Sets or clears the bit at offset of the string value. Creates the key if it doesn't exist. - Documentation: `SETBIT `_ - Implementation: :meth:`~coredis.Redis.setbit` Hash ^^^^ HDEL **** Deletes one or more fields and their values from a hash. Deletes the hash if no fields remain. - Documentation: `HDEL `_ - Implementation: :meth:`~coredis.Redis.hdel` HEXISTS ******* Determines whether a field exists in a hash. - Documentation: `HEXISTS `_ - Implementation: :meth:`~coredis.Redis.hexists` - Supports client caching: yes HEXPIRE ******* Set expiry for hash field using relative time to expire (seconds) - Documentation: `HEXPIRE `_ - Implementation: :meth:`~coredis.Redis.hexpire` - New in redis: 7.4.0 - .. versionadded:: 4.18.0 HEXPIREAT ********* Set expiry for hash field using an absolute Unix timestamp (seconds) - Documentation: `HEXPIREAT `_ - Implementation: :meth:`~coredis.Redis.hexpireat` - New in redis: 7.4.0 - .. versionadded:: 4.18.0 HEXPIRETIME *********** Returns the expiration time of a hash field as a Unix timestamp, in seconds. - Documentation: `HEXPIRETIME `_ - Implementation: :meth:`~coredis.Redis.hexpiretime` - New in redis: 7.4.0 - .. versionadded:: 4.18.0 HGET **** Returns the value of a field in a hash. - Documentation: `HGET `_ - Implementation: :meth:`~coredis.Redis.hget` - Supports client caching: yes HGETALL ******* Returns all fields and values in a hash. - Documentation: `HGETALL `_ - Implementation: :meth:`~coredis.Redis.hgetall` - Supports client caching: yes HGETDEL ******* Returns the value of a field and deletes it from the hash. - Documentation: `HGETDEL `_ - Implementation: :meth:`~coredis.Redis.hgetdel` - New in redis: 8.0.0 - .. versionadded:: 5.0.0 HGETEX ****** Get the value of one or more fields of a given hash key, and optionally set their expiration. - Documentation: `HGETEX `_ - Implementation: :meth:`~coredis.Redis.hgetex` - New in redis: 8.0.0 - .. versionadded:: 5.0.0 HINCRBY ******* Increments the integer value of a field in a hash by a number. Uses 0 as initial value if the field doesn't exist. - Documentation: `HINCRBY `_ - Implementation: :meth:`~coredis.Redis.hincrby` HINCRBYFLOAT ************ Increments the floating point value of a field by a number. Uses 0 as initial value if the field doesn't exist. - Documentation: `HINCRBYFLOAT `_ - Implementation: :meth:`~coredis.Redis.hincrbyfloat` HKEYS ***** Returns all fields in a hash. - Documentation: `HKEYS `_ - Implementation: :meth:`~coredis.Redis.hkeys` - Supports client caching: yes HLEN **** Returns the number of fields in a hash. - Documentation: `HLEN `_ - Implementation: :meth:`~coredis.Redis.hlen` - Supports client caching: yes HMGET ***** Returns the values of all fields in a hash. - Documentation: `HMGET `_ - Implementation: :meth:`~coredis.Redis.hmget` - Supports client caching: yes HMSET ***** Sets the values of multiple fields. - Documentation: `HMSET `_ - Implementation: :meth:`~coredis.Redis.hmset` - Deprecated in redis: 4.0.0. Use :meth:`~coredis.Redis.hset` with multiple field-value pairs HPERSIST ******** Removes the expiration time for each specified field - Documentation: `HPERSIST `_ - Implementation: :meth:`~coredis.Redis.hpersist` - New in redis: 7.4.0 - .. versionadded:: 4.18.0 HPEXPIRE ******** Set expiry for hash field using relative time to expire (milliseconds) - Documentation: `HPEXPIRE `_ - Implementation: :meth:`~coredis.Redis.hpexpire` - New in redis: 7.4.0 - .. versionadded:: 4.18.0 HPEXPIREAT ********** Set expiry for hash field using an absolute Unix timestamp (milliseconds) - Documentation: `HPEXPIREAT `_ - Implementation: :meth:`~coredis.Redis.hpexpireat` - New in redis: 7.4.0 - .. versionadded:: 4.18.0 HPEXPIRETIME ************ Returns the expiration time of a hash field as a Unix timestamp, in msec. - Documentation: `HPEXPIRETIME `_ - Implementation: :meth:`~coredis.Redis.hpexpiretime` - New in redis: 7.4.0 - .. versionadded:: 4.18.0 HPTTL ***** Returns the TTL in milliseconds of a hash field. - Documentation: `HPTTL `_ - Implementation: :meth:`~coredis.Redis.hpttl` - New in redis: 7.4.0 - .. versionadded:: 4.18.0 HRANDFIELD ********** Returns one or more random fields from a hash. - Documentation: `HRANDFIELD `_ - Implementation: :meth:`~coredis.Redis.hrandfield` - New in redis: 6.2.0 HSCAN ***** Iterates over fields and values of a hash. - Documentation: `HSCAN `_ - Implementation: :meth:`~coredis.Redis.hscan` HSET **** Creates or modifies the value of a field in a hash. - Documentation: `HSET `_ - Implementation: :meth:`~coredis.Redis.hset` HSETEX ****** Set the value of one or more fields of a given hash key, and optionally set their expiration. - Documentation: `HSETEX `_ - Implementation: :meth:`~coredis.Redis.hsetex` - New in redis: 8.0.0 - .. versionadded:: 5.0.0 HSETNX ****** Sets the value of a field in a hash only when the field doesn't exist. - Documentation: `HSETNX `_ - Implementation: :meth:`~coredis.Redis.hsetnx` HSTRLEN ******* Returns the length of the value of a field. - Documentation: `HSTRLEN `_ - Implementation: :meth:`~coredis.Redis.hstrlen` - Supports client caching: yes HTTL **** Returns the TTL in seconds of a hash field. - Documentation: `HTTL `_ - Implementation: :meth:`~coredis.Redis.httl` - New in redis: 7.4.0 - .. versionadded:: 4.18.0 HVALS ***** Returns all values in a hash. - Documentation: `HVALS `_ - Implementation: :meth:`~coredis.Redis.hvals` - Supports client caching: yes List ^^^^ BLMOVE ****** Pops an element from a list, pushes it to another list and returns it. Blocks until an element is available otherwise. Deletes the list if the last element was moved. - Documentation: `BLMOVE `_ - Implementation: :meth:`~coredis.Redis.blmove` - New in redis: 6.2.0 BLMPOP ****** Pops the first element from one of multiple lists. Blocks until an element is available otherwise. Deletes the list if the last element was popped. - Documentation: `BLMPOP `_ - Implementation: :meth:`~coredis.Redis.blmpop` - New in redis: 7.0.0 - .. versionadded:: 3.0.0 BLPOP ***** Removes and returns the first element in a list. Blocks until an element is available otherwise. Deletes the list if the last element was popped. - Documentation: `BLPOP `_ - Implementation: :meth:`~coredis.Redis.blpop` BRPOP ***** Removes and returns the last element in a list. Blocks until an element is available otherwise. Deletes the list if the last element was popped. - Documentation: `BRPOP `_ - Implementation: :meth:`~coredis.Redis.brpop` BRPOPLPUSH ********** Pops an element from a list, pushes it to another list and returns it. Block until an element is available otherwise. Deletes the list if the last element was popped. - Documentation: `BRPOPLPUSH `_ - Implementation: :meth:`~coredis.Redis.brpoplpush` - Deprecated in redis: 6.2.0. Use :meth:`~coredis.Redis.blmove` with the ``right`` and ``left`` arguments LINDEX ****** Returns an element from a list by its index. - Documentation: `LINDEX `_ - Implementation: :meth:`~coredis.Redis.lindex` - Supports client caching: yes LINSERT ******* Inserts an element before or after another element in a list. - Documentation: `LINSERT `_ - Implementation: :meth:`~coredis.Redis.linsert` LLEN **** Returns the length of a list. - Documentation: `LLEN `_ - Implementation: :meth:`~coredis.Redis.llen` - Supports client caching: yes LMOVE ***** Returns an element after popping it from one list and pushing it to another. Deletes the list if the last element was moved. - Documentation: `LMOVE `_ - Implementation: :meth:`~coredis.Redis.lmove` - New in redis: 6.2.0 LMPOP ***** Returns multiple elements from a list after removing them. Deletes the list if the last element was popped. - Documentation: `LMPOP `_ - Implementation: :meth:`~coredis.Redis.lmpop` - New in redis: 7.0.0 - .. versionadded:: 3.0.0 LPOP **** Returns the first elements in a list after removing it. Deletes the list if the last element was popped. - Documentation: `LPOP `_ - Implementation: :meth:`~coredis.Redis.lpop` LPOS **** Returns the index of matching elements in a list. - Documentation: `LPOS `_ - Implementation: :meth:`~coredis.Redis.lpos` - New in redis: 6.0.6 - Supports client caching: yes LPUSH ***** Prepends one or more elements to a list. Creates the key if it doesn't exist. - Documentation: `LPUSH `_ - Implementation: :meth:`~coredis.Redis.lpush` LPUSHX ****** Prepends one or more elements to a list only when the list exists. - Documentation: `LPUSHX `_ - Implementation: :meth:`~coredis.Redis.lpushx` LRANGE ****** Returns a range of elements from a list. - Documentation: `LRANGE `_ - Implementation: :meth:`~coredis.Redis.lrange` - Supports client caching: yes LREM **** Removes elements from a list. Deletes the list if the last element was removed. - Documentation: `LREM `_ - Implementation: :meth:`~coredis.Redis.lrem` LSET **** Sets the value of an element in a list by its index. - Documentation: `LSET `_ - Implementation: :meth:`~coredis.Redis.lset` LTRIM ***** Removes elements from both ends a list. Deletes the list if all elements were trimmed. - Documentation: `LTRIM `_ - Implementation: :meth:`~coredis.Redis.ltrim` RPOP **** Returns and removes the last elements of a list. Deletes the list if the last element was popped. - Documentation: `RPOP `_ - Implementation: :meth:`~coredis.Redis.rpop` RPOPLPUSH ********* Returns the last element of a list after removing and pushing it to another list. Deletes the list if the last element was popped. - Documentation: `RPOPLPUSH `_ - Implementation: :meth:`~coredis.Redis.rpoplpush` - Deprecated in redis: 6.2.0. Use :meth:`~coredis.Redis.lmove` with the ``right`` and ``left`` arguments RPUSH ***** Appends one or more elements to a list. Creates the key if it doesn't exist. - Documentation: `RPUSH `_ - Implementation: :meth:`~coredis.Redis.rpush` RPUSHX ****** Appends an element to a list only when the list exists. - Documentation: `RPUSHX `_ - Implementation: :meth:`~coredis.Redis.rpushx` Set ^^^ SADD **** Adds one or more members to a set. Creates the key if it doesn't exist. - Documentation: `SADD `_ - Implementation: :meth:`~coredis.Redis.sadd` SCARD ***** Returns the number of members in a set. - Documentation: `SCARD `_ - Implementation: :meth:`~coredis.Redis.scard` - Supports client caching: yes SDIFF ***** Returns the difference of multiple sets. - Documentation: `SDIFF `_ - Implementation: :meth:`~coredis.Redis.sdiff` SDIFFSTORE ********** Stores the difference of multiple sets in a key. - Documentation: `SDIFFSTORE `_ - Implementation: :meth:`~coredis.Redis.sdiffstore` SINTER ****** Returns the intersect of multiple sets. - Documentation: `SINTER `_ - Implementation: :meth:`~coredis.Redis.sinter` SINTERCARD ********** Returns the number of members of the intersect of multiple sets. - Documentation: `SINTERCARD `_ - Implementation: :meth:`~coredis.Redis.sintercard` - New in redis: 7.0.0 - .. versionadded:: 3.0.0 SINTERSTORE *********** Stores the intersect of multiple sets in a key. - Documentation: `SINTERSTORE `_ - Implementation: :meth:`~coredis.Redis.sinterstore` SISMEMBER ********* Determines whether a member belongs to a set. - Documentation: `SISMEMBER `_ - Implementation: :meth:`~coredis.Redis.sismember` - Supports client caching: yes SMEMBERS ******** Returns all members of a set. - Documentation: `SMEMBERS `_ - Implementation: :meth:`~coredis.Redis.smembers` - Supports client caching: yes SMISMEMBER ********** Determines whether multiple members belong to a set. - Documentation: `SMISMEMBER `_ - Implementation: :meth:`~coredis.Redis.smismember` - New in redis: 6.2.0 - Supports client caching: yes SMOVE ***** Moves a member from one set to another. - Documentation: `SMOVE `_ - Implementation: :meth:`~coredis.Redis.smove` SPOP **** Returns one or more random members from a set after removing them. Deletes the set if the last member was popped. - Documentation: `SPOP `_ - Implementation: :meth:`~coredis.Redis.spop` SRANDMEMBER *********** Get one or multiple random members from a set - Documentation: `SRANDMEMBER `_ - Implementation: :meth:`~coredis.Redis.srandmember` SREM **** Removes one or more members from a set. Deletes the set if the last member was removed. - Documentation: `SREM `_ - Implementation: :meth:`~coredis.Redis.srem` SSCAN ***** Iterates over members of a set. - Documentation: `SSCAN `_ - Implementation: :meth:`~coredis.Redis.sscan` SUNION ****** Returns the union of multiple sets. - Documentation: `SUNION `_ - Implementation: :meth:`~coredis.Redis.sunion` SUNIONSTORE *********** Stores the union of multiple sets in a key. - Documentation: `SUNIONSTORE `_ - Implementation: :meth:`~coredis.Redis.sunionstore` Sorted-Set ^^^^^^^^^^ BZMPOP ****** Removes and returns a member by score from one or more sorted sets. Blocks until a member is available otherwise. Deletes the sorted set if the last element was popped. - Documentation: `BZMPOP `_ - Implementation: :meth:`~coredis.Redis.bzmpop` - New in redis: 7.0.0 - .. versionadded:: 3.0.0 BZPOPMAX ******** Removes and returns the member with the highest score from one or more sorted sets. Blocks until a member available otherwise. Deletes the sorted set if the last element was popped. - Documentation: `BZPOPMAX `_ - Implementation: :meth:`~coredis.Redis.bzpopmax` BZPOPMIN ******** Removes and returns the member with the lowest score from one or more sorted sets. Blocks until a member is available otherwise. Deletes the sorted set if the last element was popped. - Documentation: `BZPOPMIN `_ - Implementation: :meth:`~coredis.Redis.bzpopmin` ZADD **** Adds one or more members to a sorted set, or updates their scores. Creates the key if it doesn't exist. - Documentation: `ZADD `_ - Implementation: :meth:`~coredis.Redis.zadd` ZCARD ***** Returns the number of members in a sorted set. - Documentation: `ZCARD `_ - Implementation: :meth:`~coredis.Redis.zcard` ZCOUNT ****** Returns the count of members in a sorted set that have scores within a range. - Documentation: `ZCOUNT `_ - Implementation: :meth:`~coredis.Redis.zcount` ZDIFF ***** Returns the difference between multiple sorted sets. - Documentation: `ZDIFF `_ - Implementation: :meth:`~coredis.Redis.zdiff` - New in redis: 6.2.0 ZDIFFSTORE ********** Stores the difference of multiple sorted sets in a key. - Documentation: `ZDIFFSTORE `_ - Implementation: :meth:`~coredis.Redis.zdiffstore` - New in redis: 6.2.0 ZINCRBY ******* Increments the score of a member in a sorted set. - Documentation: `ZINCRBY `_ - Implementation: :meth:`~coredis.Redis.zincrby` ZINTER ****** Returns the intersect of multiple sorted sets. - Documentation: `ZINTER `_ - Implementation: :meth:`~coredis.Redis.zinter` - New in redis: 6.2.0 ZINTERCARD ********** Returns the number of members of the intersect of multiple sorted sets. - Documentation: `ZINTERCARD `_ - Implementation: :meth:`~coredis.Redis.zintercard` - New in redis: 7.0.0 - .. versionadded:: 3.0.0 ZINTERSTORE *********** Stores the intersect of multiple sorted sets in a key. - Documentation: `ZINTERSTORE `_ - Implementation: :meth:`~coredis.Redis.zinterstore` ZLEXCOUNT ********* Returns the number of members in a sorted set within a lexicographical range. - Documentation: `ZLEXCOUNT `_ - Implementation: :meth:`~coredis.Redis.zlexcount` - Supports client caching: yes ZMPOP ***** Returns the highest- or lowest-scoring members from one or more sorted sets after removing them. Deletes the sorted set if the last member was popped. - Documentation: `ZMPOP `_ - Implementation: :meth:`~coredis.Redis.zmpop` - New in redis: 7.0.0 - .. versionadded:: 3.0.0 ZMSCORE ******* Returns the score of one or more members in a sorted set. - Documentation: `ZMSCORE `_ - Implementation: :meth:`~coredis.Redis.zmscore` - New in redis: 6.2.0 - Supports client caching: yes ZPOPMAX ******* Returns the highest-scoring members from a sorted set after removing them. Deletes the sorted set if the last member was popped. - Documentation: `ZPOPMAX `_ - Implementation: :meth:`~coredis.Redis.zpopmax` ZPOPMIN ******* Returns the lowest-scoring members from a sorted set after removing them. Deletes the sorted set if the last member was popped. - Documentation: `ZPOPMIN `_ - Implementation: :meth:`~coredis.Redis.zpopmin` ZRANDMEMBER *********** Returns one or more random members from a sorted set. - Documentation: `ZRANDMEMBER `_ - Implementation: :meth:`~coredis.Redis.zrandmember` - New in redis: 6.2.0 ZRANGE ****** Returns members in a sorted set within a range of indexes. - Documentation: `ZRANGE `_ - Implementation: :meth:`~coredis.Redis.zrange` - Supports client caching: yes ZRANGEBYLEX *********** Returns members in a sorted set within a lexicographical range. - Documentation: `ZRANGEBYLEX `_ - Implementation: :meth:`~coredis.Redis.zrangebylex` - Deprecated in redis: 6.2.0. Use :meth:`~coredis.Redis.zrange` with the ``bylex`` argument - Supports client caching: yes ZRANGEBYSCORE ************* Returns members in a sorted set within a range of scores. - Documentation: `ZRANGEBYSCORE `_ - Implementation: :meth:`~coredis.Redis.zrangebyscore` - Deprecated in redis: 6.2.0. Use :meth:`~coredis.Redis.zrange` with the ``byscore`` argument - Supports client caching: yes ZRANGESTORE *********** Stores a range of members from sorted set in a key. - Documentation: `ZRANGESTORE `_ - Implementation: :meth:`~coredis.Redis.zrangestore` - New in redis: 6.2.0 ZRANK ***** Returns the index of a member in a sorted set ordered by ascending scores. - Documentation: `ZRANK `_ - Implementation: :meth:`~coredis.Redis.zrank` - Supports client caching: yes ZREM **** Removes one or more members from a sorted set. Deletes the sorted set if all members were removed. - Documentation: `ZREM `_ - Implementation: :meth:`~coredis.Redis.zrem` ZREMRANGEBYLEX ************** Removes members in a sorted set within a lexicographical range. Deletes the sorted set if all members were removed. - Documentation: `ZREMRANGEBYLEX `_ - Implementation: :meth:`~coredis.Redis.zremrangebylex` ZREMRANGEBYRANK *************** Removes members in a sorted set within a range of indexes. Deletes the sorted set if all members were removed. - Documentation: `ZREMRANGEBYRANK `_ - Implementation: :meth:`~coredis.Redis.zremrangebyrank` ZREMRANGEBYSCORE **************** Removes members in a sorted set within a range of scores. Deletes the sorted set if all members were removed. - Documentation: `ZREMRANGEBYSCORE `_ - Implementation: :meth:`~coredis.Redis.zremrangebyscore` ZREVRANGE ********* Returns members in a sorted set within a range of indexes in reverse order. - Documentation: `ZREVRANGE `_ - Implementation: :meth:`~coredis.Redis.zrevrange` - Deprecated in redis: 6.2.0. Use :meth:`~coredis.Redis.zrange` with the ``rev`` argument - Supports client caching: yes ZREVRANGEBYLEX ************** Returns members in a sorted set within a lexicographical range in reverse order. - Documentation: `ZREVRANGEBYLEX `_ - Implementation: :meth:`~coredis.Redis.zrevrangebylex` - Deprecated in redis: 6.2.0. Use :meth:`~coredis.Redis.zrange` with the ``rev`` and ``bylex`` arguments - Supports client caching: yes ZREVRANGEBYSCORE **************** Returns members in a sorted set within a range of scores in reverse order. - Documentation: `ZREVRANGEBYSCORE `_ - Implementation: :meth:`~coredis.Redis.zrevrangebyscore` - Deprecated in redis: 6.2.0. Use :meth:`~coredis.Redis.zrange` with the ``rev`` and ``byscore`` arguments - Supports client caching: yes ZREVRANK ******** Returns the index of a member in a sorted set ordered by descending scores. - Documentation: `ZREVRANK `_ - Implementation: :meth:`~coredis.Redis.zrevrank` - Supports client caching: yes ZSCAN ***** Iterates over members and scores of a sorted set. - Documentation: `ZSCAN `_ - Implementation: :meth:`~coredis.Redis.zscan` ZSCORE ****** Returns the score of a member in a sorted set. - Documentation: `ZSCORE `_ - Implementation: :meth:`~coredis.Redis.zscore` - Supports client caching: yes ZUNION ****** Returns the union of multiple sorted sets. - Documentation: `ZUNION `_ - Implementation: :meth:`~coredis.Redis.zunion` - New in redis: 6.2.0 ZUNIONSTORE *********** Stores the union of multiple sorted sets in a key. - Documentation: `ZUNIONSTORE `_ - Implementation: :meth:`~coredis.Redis.zunionstore` Hyperloglog ^^^^^^^^^^^ PFADD ***** Adds elements to a HyperLogLog key. Creates the key if it doesn't exist. - Documentation: `PFADD `_ - Implementation: :meth:`~coredis.Redis.pfadd` PFCOUNT ******* Returns the approximated cardinality of the set(s) observed by the HyperLogLog key(s). - Documentation: `PFCOUNT `_ - Implementation: :meth:`~coredis.Redis.pfcount` PFMERGE ******* Merges one or more HyperLogLog values into a single key. - Documentation: `PFMERGE `_ - Implementation: :meth:`~coredis.Redis.pfmerge` Geo ^^^ GEOADD ****** Adds one or more members to a geospatial index. The key is created if it doesn't exist. - Documentation: `GEOADD `_ - Implementation: :meth:`~coredis.Redis.geoadd` GEODIST ******* Returns the distance between two members of a geospatial index. - Documentation: `GEODIST `_ - Implementation: :meth:`~coredis.Redis.geodist` GEOHASH ******* Returns members from a geospatial index as geohash strings. - Documentation: `GEOHASH `_ - Implementation: :meth:`~coredis.Redis.geohash` GEOPOS ****** Returns the longitude and latitude of members from a geospatial index. - Documentation: `GEOPOS `_ - Implementation: :meth:`~coredis.Redis.geopos` GEORADIUS ********* Queries a geospatial index for members within a distance from a coordinate, optionally stores the result. - Documentation: `GEORADIUS `_ - Implementation: :meth:`~coredis.Redis.georadius` - Deprecated in redis: 6.2.0. Use :meth:`~coredis.Redis.geosearch` and :meth:`~coredis.Redis.geosearchstore` with the ``byradius`` argument GEORADIUSBYMEMBER ***************** Queries a geospatial index for members within a distance from a member, optionally stores the result. - Documentation: `GEORADIUSBYMEMBER `_ - Implementation: :meth:`~coredis.Redis.georadiusbymember` - Deprecated in redis: 6.2.0. Use :meth:`~coredis.Redis.geosearch` and :meth:`~coredis.Redis.geosearchstore` with the ``byradius`` and ``frommember`` arguments GEOSEARCH ********* Queries a geospatial index for members inside an area of a box or a circle. - Documentation: `GEOSEARCH `_ - Implementation: :meth:`~coredis.Redis.geosearch` - New in redis: 6.2.0 GEOSEARCHSTORE ************** Queries a geospatial index for members inside an area of a box or a circle, optionally stores the result. - Documentation: `GEOSEARCHSTORE `_ - Implementation: :meth:`~coredis.Redis.geosearchstore` - New in redis: 6.2.0 Stream ^^^^^^ XACK **** Returns the number of messages that were successfully acknowledged by the consumer group member of a stream. - Documentation: `XACK `_ - Implementation: :meth:`~coredis.Redis.xack` XACKDEL ******* Acknowledges and deletes one or multiple messages for a stream consumer group. - Documentation: `XACKDEL `_ - Implementation: :meth:`~coredis.Redis.xackdel` - New in redis: 8.2.0 - .. versionadded:: 5.2.0 XADD **** Appends a new message to a stream. Creates the key if it doesn't exist. - Documentation: `XADD `_ - Implementation: :meth:`~coredis.Redis.xadd` XAUTOCLAIM ********** Changes, or acquires, ownership of messages in a consumer group, as if the messages were delivered to as consumer group member. - Documentation: `XAUTOCLAIM `_ - Implementation: :meth:`~coredis.Redis.xautoclaim` - New in redis: 6.2.0 - .. versionadded:: 3.0.0 XCFGSET ******* Sets the IDMP configuration parameters for a stream. - Documentation: `XCFGSET `_ - Implementation: :meth:`~coredis.Redis.xcfgset` - New in redis: 8.6.0 XCLAIM ****** Changes, or acquires, ownership of a message in a consumer group, as if the message was delivered a consumer group member. - Documentation: `XCLAIM `_ - Implementation: :meth:`~coredis.Redis.xclaim` XDEL **** Returns the number of messages after removing them from a stream. - Documentation: `XDEL `_ - Implementation: :meth:`~coredis.Redis.xdel` XDELEX ****** Deletes one or multiple entries from the stream. - Documentation: `XDELEX `_ - Implementation: :meth:`~coredis.Redis.xdelex` - New in redis: 8.2.0 - .. versionadded:: 5.2.0 XGROUP CREATE ************* Creates a consumer group. - Documentation: `XGROUP CREATE `_ - Implementation: :meth:`~coredis.Redis.xgroup_create` XGROUP CREATECONSUMER ********************* Creates a consumer in a consumer group. - Documentation: `XGROUP CREATECONSUMER `_ - Implementation: :meth:`~coredis.Redis.xgroup_createconsumer` - New in redis: 6.2.0 - .. versionadded:: 3.0.0 XGROUP DELCONSUMER ****************** Deletes a consumer from a consumer group. - Documentation: `XGROUP DELCONSUMER `_ - Implementation: :meth:`~coredis.Redis.xgroup_delconsumer` - .. versionadded:: 3.0.0 XGROUP DESTROY ************** Destroys a consumer group. - Documentation: `XGROUP DESTROY `_ - Implementation: :meth:`~coredis.Redis.xgroup_destroy` XGROUP SETID ************ Sets the last-delivered ID of a consumer group. - Documentation: `XGROUP SETID `_ - Implementation: :meth:`~coredis.Redis.xgroup_setid` - .. versionadded:: 3.0.0 XINFO CONSUMERS *************** Returns a list of the consumers in a consumer group. - Documentation: `XINFO CONSUMERS `_ - Implementation: :meth:`~coredis.Redis.xinfo_consumers` XINFO GROUPS ************ Returns a list of the consumer groups of a stream. - Documentation: `XINFO GROUPS `_ - Implementation: :meth:`~coredis.Redis.xinfo_groups` XINFO STREAM ************ Returns information about a stream. - Documentation: `XINFO STREAM `_ - Implementation: :meth:`~coredis.Redis.xinfo_stream` XLEN **** Return the number of messages in a stream. - Documentation: `XLEN `_ - Implementation: :meth:`~coredis.Redis.xlen` XPENDING ******** Returns the information and entries from a stream consumer group's pending entries list. - Documentation: `XPENDING `_ - Implementation: :meth:`~coredis.Redis.xpending` XRANGE ****** Returns the messages from a stream within a range of IDs. - Documentation: `XRANGE `_ - Implementation: :meth:`~coredis.Redis.xrange` XREAD ***** Returns messages from multiple streams with IDs greater than the ones requested. Blocks until a message is available otherwise. - Documentation: `XREAD `_ - Implementation: :meth:`~coredis.Redis.xread` XREADGROUP ********** Returns new or historical messages from a stream for a consumer in a group. Blocks until a message is available otherwise. - Documentation: `XREADGROUP `_ - Implementation: :meth:`~coredis.Redis.xreadgroup` XREVRANGE ********* Returns the messages from a stream within a range of IDs in reverse order. - Documentation: `XREVRANGE `_ - Implementation: :meth:`~coredis.Redis.xrevrange` XTRIM ***** Deletes messages from the beginning of a stream. - Documentation: `XTRIM `_ - Implementation: :meth:`~coredis.Redis.xtrim` Scripting ^^^^^^^^^ EVAL **** Executes a server-side Lua script. - Documentation: `EVAL `_ - Implementation: :meth:`~coredis.Redis.eval` EVALSHA ******* Executes a server-side Lua script by SHA1 digest. - Documentation: `EVALSHA `_ - Implementation: :meth:`~coredis.Redis.evalsha` EVALSHA_RO ********** Executes a read-only server-side Lua script by SHA1 digest. - Documentation: `EVALSHA_RO `_ - Implementation: :meth:`~coredis.Redis.evalsha_ro` - New in redis: 7.0.0 - .. versionadded:: 3.0.0 EVAL_RO ******* Executes a read-only server-side Lua script. - Documentation: `EVAL_RO `_ - Implementation: :meth:`~coredis.Redis.eval_ro` - New in redis: 7.0.0 - .. versionadded:: 3.0.0 FCALL ***** Invokes a function. - Documentation: `FCALL `_ - Implementation: :meth:`~coredis.Redis.fcall` - New in redis: 7.0.0 - .. versionadded:: 3.1.0 FCALL_RO ******** Invokes a read-only function. - Documentation: `FCALL_RO `_ - Implementation: :meth:`~coredis.Redis.fcall_ro` - New in redis: 7.0.0 - .. versionadded:: 3.1.0 FUNCTION DELETE *************** Deletes a library and its functions. - Documentation: `FUNCTION DELETE `_ - Implementation: :meth:`~coredis.Redis.function_delete` - New in redis: 7.0.0 - .. versionadded:: 3.1.0 FUNCTION DUMP ************* Dumps all libraries into a serialized binary payload. - Documentation: `FUNCTION DUMP `_ - Implementation: :meth:`~coredis.Redis.function_dump` - New in redis: 7.0.0 - .. versionadded:: 3.1.0 FUNCTION FLUSH ************** Deletes all libraries and functions. - Documentation: `FUNCTION FLUSH `_ - Implementation: :meth:`~coredis.Redis.function_flush` - New in redis: 7.0.0 - .. versionadded:: 3.1.0 FUNCTION KILL ************* Terminates a function during execution. - Documentation: `FUNCTION KILL `_ - Implementation: :meth:`~coredis.Redis.function_kill` - New in redis: 7.0.0 - .. versionadded:: 3.1.0 FUNCTION LIST ************* Returns information about all libraries. - Documentation: `FUNCTION LIST `_ - Implementation: :meth:`~coredis.Redis.function_list` - New in redis: 7.0.0 - .. versionadded:: 3.1.0 FUNCTION LOAD ************* Creates a library. - Documentation: `FUNCTION LOAD `_ - Implementation: :meth:`~coredis.Redis.function_load` - New in redis: 7.0.0 - .. versionadded:: 3.1.0 FUNCTION RESTORE **************** Restores all libraries from a payload. - Documentation: `FUNCTION RESTORE `_ - Implementation: :meth:`~coredis.Redis.function_restore` - New in redis: 7.0.0 - .. versionadded:: 3.1.0 FUNCTION STATS ************** Returns information about a function during execution. - Documentation: `FUNCTION STATS `_ - Implementation: :meth:`~coredis.Redis.function_stats` - New in redis: 7.0.0 - .. versionadded:: 3.1.0 SCRIPT DEBUG ************ Sets the debug mode of server-side Lua scripts. - Documentation: `SCRIPT DEBUG `_ - Implementation: :meth:`~coredis.Redis.script_debug` - .. versionadded:: 3.0.0 SCRIPT EXISTS ************* Determines whether server-side Lua scripts exist in the script cache. - Documentation: `SCRIPT EXISTS `_ - Implementation: :meth:`~coredis.Redis.script_exists` SCRIPT FLUSH ************ Removes all server-side Lua scripts from the script cache. - Documentation: `SCRIPT FLUSH `_ - Implementation: :meth:`~coredis.Redis.script_flush` SCRIPT KILL *********** Terminates a server-side Lua script during execution. - Documentation: `SCRIPT KILL `_ - Implementation: :meth:`~coredis.Redis.script_kill` SCRIPT LOAD *********** Loads a server-side Lua script to the script cache. - Documentation: `SCRIPT LOAD `_ - Implementation: :meth:`~coredis.Redis.script_load` Pubsub ^^^^^^ PUBLISH ******* Posts a message to a channel. - Documentation: `PUBLISH `_ - Implementation: :meth:`~coredis.Redis.publish` PUBSUB CHANNELS *************** Returns the active channels. - Documentation: `PUBSUB CHANNELS `_ - Implementation: :meth:`~coredis.Redis.pubsub_channels` PUBSUB NUMPAT ************* Returns a count of unique pattern subscriptions. - Documentation: `PUBSUB NUMPAT `_ - Implementation: :meth:`~coredis.Redis.pubsub_numpat` PUBSUB NUMSUB ************* Returns a count of subscribers to channels. - Documentation: `PUBSUB NUMSUB `_ - Implementation: :meth:`~coredis.Redis.pubsub_numsub` PUBSUB SHARDCHANNELS ******************** Returns the active shard channels. - Documentation: `PUBSUB SHARDCHANNELS `_ - Implementation: :meth:`~coredis.Redis.pubsub_shardchannels` - New in redis: 7.0.0 - .. versionadded:: 3.6.0 PUBSUB SHARDNUMSUB ****************** Returns the count of subscribers of shard channels. - Documentation: `PUBSUB SHARDNUMSUB `_ - Implementation: :meth:`~coredis.Redis.pubsub_shardnumsub` - New in redis: 7.0.0 SPUBLISH ******** Post a message to a shard channel - Documentation: `SPUBLISH `_ - Implementation: :meth:`~coredis.Redis.spublish` - New in redis: 7.0.0 - .. versionadded:: 3.6.0 PSUBSCRIBE [X] ************** Listens for messages published to channels that match one or more patterns. - Documentation: `PSUBSCRIBE `_ - Not Implemented PUNSUBSCRIBE [X] **************** Stops listening to messages published to channels that match one or more patterns. - Documentation: `PUNSUBSCRIBE `_ - Not Implemented SSUBSCRIBE [X] ************** Listens for messages published to shard channels. - Documentation: `SSUBSCRIBE `_ - Not Implemented SUBSCRIBE [X] ************* Listens for messages published to channels. - Documentation: `SUBSCRIBE `_ - Not Implemented SUNSUBSCRIBE [X] **************** Stops listening to messages posted to shard channels. - Documentation: `SUNSUBSCRIBE `_ - Not Implemented UNSUBSCRIBE [X] *************** Stops listening to messages posted to channels. - Documentation: `UNSUBSCRIBE `_ - Not Implemented Transactions ^^^^^^^^^^^^ DISCARD [X] *********** Discards a transaction. - Documentation: `DISCARD `_ - Not Implemented EXEC [X] ******** Executes all commands in a transaction. - Documentation: `EXEC `_ - Not Implemented MULTI [X] ********* Starts a transaction. - Documentation: `MULTI `_ - Not Implemented UNWATCH [X] *********** Forgets about watched keys of a transaction. - Documentation: `UNWATCH `_ - Not Implemented WATCH [X] ********* Monitors changes to keys to determine the execution of a transaction. - Documentation: `WATCH `_ - Not Implemented Vector_Set ^^^^^^^^^^ VADD **** Add one or more elements to a vector set, or update its vector if it already exists - Documentation: `VADD `_ - Implementation: :meth:`~coredis.Redis.vadd` - New in redis: 8.0.0 - .. versionadded:: 5.0.0 VREM **** Remove an element from a vector set - Documentation: `VREM `_ - Implementation: :meth:`~coredis.Redis.vrem` - New in redis: 8.0.0 - .. versionadded:: 5.0.0 VSIM **** Return elements by vector similarity - Documentation: `VSIM `_ - Implementation: :meth:`~coredis.Redis.vsim` - New in redis: 8.0.0 - .. versionadded:: 5.0.0 VDIM **** Return the dimension of vectors in the vector set - Documentation: `VDIM `_ - Implementation: :meth:`~coredis.Redis.vdim` - New in redis: 8.0.0 - .. versionadded:: 5.0.0 VCARD ***** Return the number of elements in a vector set - Documentation: `VCARD `_ - Implementation: :meth:`~coredis.Redis.vcard` - New in redis: 8.0.0 - .. versionadded:: 5.0.0 VEMB **** Return the vector associated with an element - Documentation: `VEMB `_ - Implementation: :meth:`~coredis.Redis.vemb` - New in redis: 8.0.0 - .. versionadded:: 5.0.0 VLINKS ****** Return the neighbors of an element at each layer in the HNSW graph - Documentation: `VLINKS `_ - Implementation: :meth:`~coredis.Redis.vlinks` - New in redis: 8.0.0 - .. versionadded:: 5.0.0 VINFO ***** Return information about a vector set - Documentation: `VINFO `_ - Implementation: :meth:`~coredis.Redis.vinfo` - New in redis: 8.0.0 - .. versionadded:: 5.0.0 VSETATTR ******** Associate or remove the JSON attributes of elements - Documentation: `VSETATTR `_ - Implementation: :meth:`~coredis.Redis.vsetattr` - New in redis: 8.0.0 - .. versionadded:: 5.0.0 VGETATTR ******** Retrieve the JSON attributes of elements - Documentation: `VGETATTR `_ - Implementation: :meth:`~coredis.Redis.vgetattr` - New in redis: 8.0.0 - .. versionadded:: 5.0.0 VRANDMEMBER *********** Return one or multiple random members from a vector set - Documentation: `VRANDMEMBER `_ - Implementation: :meth:`~coredis.Redis.vrandmember` - New in redis: 8.0.0 - .. versionadded:: 5.0.0 VISMEMBER ********* Check if an element exists in a vector set - Documentation: `VISMEMBER `_ - Implementation: :meth:`~coredis.Redis.vismember` - New in redis: 8.2.0 - .. versionadded:: 5.2.0 VRANGE ****** Return elements in a lexicographical range - Documentation: `VRANGE `_ - Implementation: :meth:`~coredis.Redis.vrange` - New in redis: 8.4.0 - .. versionadded:: 6.0.0 Server ^^^^^^ ACL CAT ******* Lists the ACL categories, or the commands inside a category. - Documentation: `ACL CAT `_ - Implementation: :meth:`~coredis.Redis.acl_cat` - New in redis: 6.0.0 - .. versionadded:: 3.0.0 ACL DELUSER *********** Deletes ACL users, and terminates their connections. - Documentation: `ACL DELUSER `_ - Implementation: :meth:`~coredis.Redis.acl_deluser` - New in redis: 6.0.0 - .. versionadded:: 3.0.0 ACL DRYRUN ********** Simulates the execution of a command by a user, without executing the command. - Documentation: `ACL DRYRUN `_ - Implementation: :meth:`~coredis.Redis.acl_dryrun` - New in redis: 7.0.0 - .. versionadded:: 3.0.0 ACL GENPASS *********** Generates a pseudorandom, secure password that can be used to identify ACL users. - Documentation: `ACL GENPASS `_ - Implementation: :meth:`~coredis.Redis.acl_genpass` - New in redis: 6.0.0 - .. versionadded:: 3.0.0 ACL GETUSER *********** Lists the ACL rules of a user. - Documentation: `ACL GETUSER `_ - Implementation: :meth:`~coredis.Redis.acl_getuser` - New in redis: 6.0.0 - .. versionadded:: 3.0.0 ACL LIST ******** Dumps the effective rules in ACL file format. - Documentation: `ACL LIST `_ - Implementation: :meth:`~coredis.Redis.acl_list` - New in redis: 6.0.0 - .. versionadded:: 3.0.0 ACL LOAD ******** Reloads the rules from the configured ACL file. - Documentation: `ACL LOAD `_ - Implementation: :meth:`~coredis.Redis.acl_load` - New in redis: 6.0.0 - .. versionadded:: 3.0.0 ACL LOG ******* Lists recent security events generated due to ACL rules. - Documentation: `ACL LOG `_ - Implementation: :meth:`~coredis.Redis.acl_log` - New in redis: 6.0.0 - .. versionadded:: 3.0.0 ACL SAVE ******** Saves the effective ACL rules in the configured ACL file. - Documentation: `ACL SAVE `_ - Implementation: :meth:`~coredis.Redis.acl_save` - New in redis: 6.0.0 - .. versionadded:: 3.0.0 ACL SETUSER *********** Creates and modifies an ACL user and its rules. - Documentation: `ACL SETUSER `_ - Implementation: :meth:`~coredis.Redis.acl_setuser` - New in redis: 6.0.0 - .. versionadded:: 3.0.0 ACL USERS ********* Lists all ACL users. - Documentation: `ACL USERS `_ - Implementation: :meth:`~coredis.Redis.acl_users` - New in redis: 6.0.0 - .. versionadded:: 3.0.0 ACL WHOAMI ********** Returns the authenticated username of the current connection. - Documentation: `ACL WHOAMI `_ - Implementation: :meth:`~coredis.Redis.acl_whoami` - New in redis: 6.0.0 - .. versionadded:: 3.0.0 BGREWRITEAOF ************ Asynchronously rewrites the append-only file to disk. - Documentation: `BGREWRITEAOF `_ - Implementation: :meth:`~coredis.Redis.bgrewriteaof` BGSAVE ****** Asynchronously saves the database(s) to disk. - Documentation: `BGSAVE `_ - Implementation: :meth:`~coredis.Redis.bgsave` COMMAND ******* Returns detailed information about all commands. - Documentation: `COMMAND `_ - Implementation: :meth:`~coredis.Redis.command` - .. versionadded:: 3.0.0 COMMAND COUNT ************* Returns a count of commands. - Documentation: `COMMAND COUNT `_ - Implementation: :meth:`~coredis.Redis.command_count` - .. versionadded:: 3.0.0 COMMAND DOCS ************ Returns documentary information about one, multiple or all commands. - Documentation: `COMMAND DOCS `_ - Implementation: :meth:`~coredis.Redis.command_docs` - New in redis: 7.0.0 - .. versionadded:: 3.1.0 COMMAND GETKEYS *************** Extracts the key names from an arbitrary command. - Documentation: `COMMAND GETKEYS `_ - Implementation: :meth:`~coredis.Redis.command_getkeys` - .. versionadded:: 3.0.0 COMMAND GETKEYSANDFLAGS *********************** Extracts the key names and access flags for an arbitrary command. - Documentation: `COMMAND GETKEYSANDFLAGS `_ - Implementation: :meth:`~coredis.Redis.command_getkeysandflags` - New in redis: 7.0.0 - .. versionadded:: 3.1.0 COMMAND INFO ************ Returns information about one, multiple or all commands. - Documentation: `COMMAND INFO `_ - Implementation: :meth:`~coredis.Redis.command_info` - .. versionadded:: 3.0.0 COMMAND LIST ************ Returns a list of command names. - Documentation: `COMMAND LIST `_ - Implementation: :meth:`~coredis.Redis.command_list` - New in redis: 7.0.0 - .. versionadded:: 3.1.0 CONFIG GET ********** Returns the effective values of configuration parameters. - Documentation: `CONFIG GET `_ - Implementation: :meth:`~coredis.Redis.config_get` CONFIG RESETSTAT **************** Resets the server's statistics. - Documentation: `CONFIG RESETSTAT `_ - Implementation: :meth:`~coredis.Redis.config_resetstat` CONFIG REWRITE ************** Persists the effective configuration to file. - Documentation: `CONFIG REWRITE `_ - Implementation: :meth:`~coredis.Redis.config_rewrite` CONFIG SET ********** Sets configuration parameters in-flight. - Documentation: `CONFIG SET `_ - Implementation: :meth:`~coredis.Redis.config_set` DBSIZE ****** Returns the number of keys in the database. - Documentation: `DBSIZE `_ - Implementation: :meth:`~coredis.Redis.dbsize` FAILOVER ******** Starts a coordinated failover from a server to one of its replicas. - Documentation: `FAILOVER `_ - Implementation: :meth:`~coredis.Redis.failover` - New in redis: 6.2.0 - .. versionadded:: 3.0.0 FLUSHALL ******** Removes all keys from all databases. - Documentation: `FLUSHALL `_ - Implementation: :meth:`~coredis.Redis.flushall` FLUSHDB ******* Remove all keys from the current database. - Documentation: `FLUSHDB `_ - Implementation: :meth:`~coredis.Redis.flushdb` INFO **** Returns information and statistics about the server. - Documentation: `INFO `_ - Implementation: :meth:`~coredis.Redis.info` LASTSAVE ******** Returns the Unix timestamp of the last successful save to disk. - Documentation: `LASTSAVE `_ - Implementation: :meth:`~coredis.Redis.lastsave` LATENCY DOCTOR ************** Returns a human-readable latency analysis report. - Documentation: `LATENCY DOCTOR `_ - Implementation: :meth:`~coredis.Redis.latency_doctor` - .. versionadded:: 3.0.0 LATENCY GRAPH ************* Returns a latency graph for an event. - Documentation: `LATENCY GRAPH `_ - Implementation: :meth:`~coredis.Redis.latency_graph` - .. versionadded:: 3.0.0 LATENCY HISTOGRAM ***************** Returns the cumulative distribution of latencies of a subset or all commands. - Documentation: `LATENCY HISTOGRAM `_ - Implementation: :meth:`~coredis.Redis.latency_histogram` - New in redis: 7.0.0 - .. versionadded:: 3.2.0 LATENCY HISTORY *************** Returns timestamp-latency samples for an event. - Documentation: `LATENCY HISTORY `_ - Implementation: :meth:`~coredis.Redis.latency_history` - .. versionadded:: 3.0.0 LATENCY LATEST ************** Returns the latest latency samples for all events. - Documentation: `LATENCY LATEST `_ - Implementation: :meth:`~coredis.Redis.latency_latest` - .. versionadded:: 3.0.0 LATENCY RESET ************* Resets the latency data for one or more events. - Documentation: `LATENCY RESET `_ - Implementation: :meth:`~coredis.Redis.latency_reset` - .. versionadded:: 3.0.0 LOLWUT ****** Displays computer art and the Redis version - Documentation: `LOLWUT `_ - Implementation: :meth:`~coredis.Redis.lolwut` MEMORY DOCTOR ************* Outputs a memory problems report. - Documentation: `MEMORY DOCTOR `_ - Implementation: :meth:`~coredis.Redis.memory_doctor` - .. versionadded:: 3.0.0 MEMORY MALLOC-STATS ******************* Returns the allocator statistics. - Documentation: `MEMORY MALLOC-STATS `_ - Implementation: :meth:`~coredis.Redis.memory_malloc_stats` - .. versionadded:: 3.0.0 MEMORY PURGE ************ Asks the allocator to release memory. - Documentation: `MEMORY PURGE `_ - Implementation: :meth:`~coredis.Redis.memory_purge` - .. versionadded:: 3.0.0 MEMORY STATS ************ Returns details about memory usage. - Documentation: `MEMORY STATS `_ - Implementation: :meth:`~coredis.Redis.memory_stats` - .. versionadded:: 3.0.0 MEMORY USAGE ************ Estimates the memory usage of a key. - Documentation: `MEMORY USAGE `_ - Implementation: :meth:`~coredis.Redis.memory_usage` - .. versionadded:: 3.0.0 MODULE LIST *********** Returns all loaded modules. - Documentation: `MODULE LIST `_ - Implementation: :meth:`~coredis.Redis.module_list` - .. versionadded:: 3.2.0 MODULE LOAD *********** Loads a module. - Documentation: `MODULE LOAD `_ - Implementation: :meth:`~coredis.Redis.module_load` - .. versionadded:: 3.2.0 MODULE LOADEX ************* Loads a module using extended parameters. - Documentation: `MODULE LOADEX `_ - Implementation: :meth:`~coredis.Redis.module_loadex` - New in redis: 7.0.0 - .. versionadded:: 3.4.0 MODULE UNLOAD ************* Unloads a module. - Documentation: `MODULE UNLOAD `_ - Implementation: :meth:`~coredis.Redis.module_unload` - .. versionadded:: 3.2.0 REPLICAOF ********* Configures a server as replica of another, or promotes it to a master. - Documentation: `REPLICAOF `_ - Implementation: :meth:`~coredis.Redis.replicaof` - .. versionadded:: 3.0.0 ROLE **** Returns the replication role. - Documentation: `ROLE `_ - Implementation: :meth:`~coredis.Redis.role` SAVE **** Synchronously saves the database(s) to disk. - Documentation: `SAVE `_ - Implementation: :meth:`~coredis.Redis.save` SHUTDOWN ******** Synchronously saves the database(s) to disk and shuts down the Redis server. - Documentation: `SHUTDOWN `_ - Implementation: :meth:`~coredis.Redis.shutdown` SLAVEOF ******* Sets a Redis server as a replica of another, or promotes it to being a master. - Documentation: `SLAVEOF `_ - Implementation: :meth:`~coredis.Redis.slaveof` - Deprecated in redis: 5.0.0. Use :meth:`~coredis.Redis.replicaof` SLOWLOG GET *********** Returns the slow log's entries. - Documentation: `SLOWLOG GET `_ - Implementation: :meth:`~coredis.Redis.slowlog_get` SLOWLOG LEN *********** Returns the number of entries in the slow log. - Documentation: `SLOWLOG LEN `_ - Implementation: :meth:`~coredis.Redis.slowlog_len` SLOWLOG RESET ************* Clears all entries from the slow log. - Documentation: `SLOWLOG RESET `_ - Implementation: :meth:`~coredis.Redis.slowlog_reset` SWAPDB ****** Swaps two Redis databases. - Documentation: `SWAPDB `_ - Implementation: :meth:`~coredis.Redis.swapdb` - .. versionadded:: 3.0.0 TIME **** Returns the server time. - Documentation: `TIME `_ - Implementation: :meth:`~coredis.Redis.time` HOTKEYS GET [X] *************** Returns lists of top K hotkeys depending on metrics chosen in HOTKEYS START command. - Documentation: `HOTKEYS GET `_ - Not Implemented HOTKEYS RESET [X] ***************** Release the resources used for hotkey tracking. - Documentation: `HOTKEYS RESET `_ - Not Implemented HOTKEYS START [X] ***************** Starts hotkeys tracking. - Documentation: `HOTKEYS START `_ - Not Implemented HOTKEYS STOP [X] **************** Stops hotkeys tracking. - Documentation: `HOTKEYS STOP `_ - Not Implemented MONITOR [X] *********** Listens for all requests received by the server in real-time. - Documentation: `MONITOR `_ - Not Implemented TRIMSLOTS [X] ************* Trim the keys that belong to specified slots. - Documentation: `TRIMSLOTS `_ - Not Implemented Connection ^^^^^^^^^^ AUTH **** Authenticates the connection. - Documentation: `AUTH `_ - Implementation: :meth:`~coredis.Redis.auth` .. warning:: Using :meth:`~coredis.Redis.auth` directly is not recommended. Use the :paramref:`Redis.username` and :paramref:`Redis.password` arguments when initializing the client to ensure that all connections originating from this client are authenticated before being made available. - .. versionadded:: 3.0.0 CLIENT CACHING ************** Instructs the server whether to track the keys in the next request. - Documentation: `CLIENT CACHING `_ - Implementation: :meth:`~coredis.Redis.client_caching` - New in redis: 6.0.0 - .. versionadded:: 3.0.0 CLIENT GETNAME ************** Returns the name of the connection. - Documentation: `CLIENT GETNAME `_ - Implementation: :meth:`~coredis.Redis.client_getname` CLIENT GETREDIR *************** Returns the client ID to which the connection's tracking notifications are redirected. - Documentation: `CLIENT GETREDIR `_ - Implementation: :meth:`~coredis.Redis.client_getredir` - New in redis: 6.0.0 - .. versionadded:: 3.0.0 CLIENT ID ********* Returns the unique client ID of the connection. - Documentation: `CLIENT ID `_ - Implementation: :meth:`~coredis.Redis.client_id` - .. versionadded:: 3.0.0 CLIENT INFO *********** Returns information about the connection. - Documentation: `CLIENT INFO `_ - Implementation: :meth:`~coredis.Redis.client_info` - New in redis: 6.2.0 - .. versionadded:: 3.0.0 CLIENT KILL *********** Terminates open connections. - Documentation: `CLIENT KILL `_ - Implementation: :meth:`~coredis.Redis.client_kill` CLIENT LIST *********** Lists open connections. - Documentation: `CLIENT LIST `_ - Implementation: :meth:`~coredis.Redis.client_list` CLIENT NO-EVICT *************** Sets the client eviction mode of the connection. - Documentation: `CLIENT NO-EVICT `_ - Implementation: :meth:`~coredis.Redis.client_no_evict` .. warning:: Using :meth:`~coredis.Redis.client_no_evict` directly is not recommended. Use :paramref:`Redis.noevict` argument when initializing the client to ensure that all connections originating from this client use the desired mode - New in redis: 7.0.0 - .. versionadded:: 3.2.0 CLIENT NO-TOUCH *************** Controls whether commands sent by the client affect the LRU/LFU of accessed keys. - Documentation: `CLIENT NO-TOUCH `_ - Implementation: :meth:`~coredis.Redis.client_no_touch` .. warning:: Using :meth:`~coredis.Redis.client_no_touch` directly is not recommended. Use :paramref:`Redis.notouch` argument when initializing the client to ensure that all connections originating from this client use the desired mode - New in redis: 7.2.0 - .. versionadded:: 4.12.0 CLIENT PAUSE ************ Suspends commands processing. - Documentation: `CLIENT PAUSE `_ - Implementation: :meth:`~coredis.Redis.client_pause` CLIENT REPLY ************ Instructs the server whether to reply to commands. - Documentation: `CLIENT REPLY `_ - .. danger:: :meth:`~coredis.Redis.client_reply` intentionally raises an :exc:`NotImplemented` error. Use the :paramref:`Redis.noreply` argument when initializing the client to ensure that all connections originating from this client disable or enable replies. You can also use the :meth:`Redis.ignore_replies` context manager to selectively execute certain commands without waiting for a reply - .. versionadded:: 3.0.0 CLIENT SETINFO ************** Sets information specific to the client or connection. - Documentation: `CLIENT SETINFO `_ - Implementation: :meth:`~coredis.Redis.client_setinfo` .. warning:: Using :meth:`~coredis.Redis.client_setinfo` directly is not recommended. Coredis sets the library name and version by default during the handshake phase.Explicitly calling this command will only apply to the connection from the pool that was used to send it and not for subsequent commands - New in redis: 7.2.0 - .. versionadded:: 4.12.0 CLIENT SETNAME ************** Sets the connection name. - Documentation: `CLIENT SETNAME `_ - Implementation: :meth:`~coredis.Redis.client_setname` .. warning:: Using :meth:`~coredis.Redis.client_setname` directly is not recommended. Use the :paramref:`Redis.client_name` argument when initializing the client to ensure the client name is consistent across all connections originating from the client CLIENT TRACKING *************** Controls server-assisted client-side caching for the connection. - Documentation: `CLIENT TRACKING `_ - Implementation: :meth:`~coredis.Redis.client_tracking` - New in redis: 6.0.0 - .. versionadded:: 3.0.0 CLIENT TRACKINGINFO ******************* Returns information about server-assisted client-side caching for the connection. - Documentation: `CLIENT TRACKINGINFO `_ - Implementation: :meth:`~coredis.Redis.client_trackinginfo` - New in redis: 6.2.0 - .. versionadded:: 3.0.0 CLIENT UNBLOCK ************** Unblocks a client blocked by a blocking command from a different connection. - Documentation: `CLIENT UNBLOCK `_ - Implementation: :meth:`~coredis.Redis.client_unblock` - .. versionadded:: 3.0.0 CLIENT UNPAUSE ************** Resumes processing commands from paused clients. - Documentation: `CLIENT UNPAUSE `_ - Implementation: :meth:`~coredis.Redis.client_unpause` - New in redis: 6.2.0 - .. versionadded:: 3.0.0 ECHO **** Returns the given string. - Documentation: `ECHO `_ - Implementation: :meth:`~coredis.Redis.echo` HELLO ***** Handshakes with the Redis server. - Documentation: `HELLO `_ - Implementation: :meth:`~coredis.Redis.hello` - New in redis: 6.0.0 - .. versionadded:: 3.0.0 PING **** Returns the server's liveliness response. - Documentation: `PING `_ - Implementation: :meth:`~coredis.Redis.ping` QUIT **** Closes the connection. - Documentation: `QUIT `_ - Implementation: :meth:`~coredis.Redis.quit` - Deprecated in redis: 7.2.0. Use just closing the connection RESET ***** Resets the connection. - Documentation: `RESET `_ - Implementation: :meth:`~coredis.Redis.reset` - New in redis: 6.2.0 - .. versionadded:: 3.0.0 SELECT ****** Changes the selected database. - Documentation: `SELECT `_ - Implementation: :meth:`~coredis.Redis.select` .. warning:: Using :meth:`~coredis.Redis.select` directly is not recommended. Use the `db` argument when initializing the client to ensure that all connections originating from this client use the desired database number - .. versionadded:: 3.0.0 Cluster ^^^^^^^ ASKING ****** Signals that a cluster client is following an -ASK redirect. - Documentation: `ASKING `_ - Implementation: :meth:`~coredis.Redis.asking` - .. versionadded:: 3.0.0 CLUSTER ADDSLOTS **************** Assigns new hash slots to a node. - Documentation: `CLUSTER ADDSLOTS `_ - Implementation: :meth:`~coredis.Redis.cluster_addslots` CLUSTER ADDSLOTSRANGE ********************* Assigns new hash slot ranges to a node. - Documentation: `CLUSTER ADDSLOTSRANGE `_ - Implementation: :meth:`~coredis.Redis.cluster_addslotsrange` - New in redis: 7.0.0 - .. versionadded:: 3.1.1 CLUSTER BUMPEPOCH ***************** Advances the cluster config epoch. - Documentation: `CLUSTER BUMPEPOCH `_ - Implementation: :meth:`~coredis.Redis.cluster_bumpepoch` - .. versionadded:: 3.0.0 CLUSTER COUNT-FAILURE-REPORTS ***************************** Returns the number of active failure reports active for a node. - Documentation: `CLUSTER COUNT-FAILURE-REPORTS `_ - Implementation: :meth:`~coredis.Redis.cluster_count_failure_reports` CLUSTER COUNTKEYSINSLOT *********************** Returns the number of keys in a hash slot. - Documentation: `CLUSTER COUNTKEYSINSLOT `_ - Implementation: :meth:`~coredis.Redis.cluster_countkeysinslot` CLUSTER DELSLOTS **************** Sets hash slots as unbound for a node. - Documentation: `CLUSTER DELSLOTS `_ - Implementation: :meth:`~coredis.Redis.cluster_delslots` CLUSTER DELSLOTSRANGE ********************* Sets hash slot ranges as unbound for a node. - Documentation: `CLUSTER DELSLOTSRANGE `_ - Implementation: :meth:`~coredis.Redis.cluster_delslotsrange` - New in redis: 7.0.0 - .. versionadded:: 3.1.1 CLUSTER FAILOVER **************** Forces a replica to perform a manual failover of its master. - Documentation: `CLUSTER FAILOVER `_ - Implementation: :meth:`~coredis.Redis.cluster_failover` CLUSTER FLUSHSLOTS ****************** Deletes all slots information from a node. - Documentation: `CLUSTER FLUSHSLOTS `_ - Implementation: :meth:`~coredis.Redis.cluster_flushslots` - .. versionadded:: 3.0.0 CLUSTER FORGET ************** Removes a node from the nodes table. - Documentation: `CLUSTER FORGET `_ - Implementation: :meth:`~coredis.Redis.cluster_forget` CLUSTER GETKEYSINSLOT ********************* Returns the key names in a hash slot. - Documentation: `CLUSTER GETKEYSINSLOT `_ - Implementation: :meth:`~coredis.Redis.cluster_getkeysinslot` - .. versionadded:: 3.0.0 CLUSTER INFO ************ Returns information about the state of a node. - Documentation: `CLUSTER INFO `_ - Implementation: :meth:`~coredis.Redis.cluster_info` CLUSTER KEYSLOT *************** Returns the hash slot for a key. - Documentation: `CLUSTER KEYSLOT `_ - Implementation: :meth:`~coredis.Redis.cluster_keyslot` CLUSTER LINKS ************* Returns a list of all TCP links to and from peer nodes. - Documentation: `CLUSTER LINKS `_ - Implementation: :meth:`~coredis.Redis.cluster_links` - New in redis: 7.0.0 - .. versionadded:: 3.1.1 CLUSTER MEET ************ Forces a node to handshake with another node. - Documentation: `CLUSTER MEET `_ - Implementation: :meth:`~coredis.Redis.cluster_meet` CLUSTER MYID ************ Returns the ID of a node. - Documentation: `CLUSTER MYID `_ - Implementation: :meth:`~coredis.Redis.cluster_myid` - .. versionadded:: 3.1.1 CLUSTER NODES ************* Returns the cluster configuration for a node. - Documentation: `CLUSTER NODES `_ - Implementation: :meth:`~coredis.Redis.cluster_nodes` CLUSTER REPLICAS **************** Lists the replica nodes of a master node. - Documentation: `CLUSTER REPLICAS `_ - Implementation: :meth:`~coredis.Redis.cluster_replicas` CLUSTER REPLICATE ***************** Configure a node as replica of a master node. - Documentation: `CLUSTER REPLICATE `_ - Implementation: :meth:`~coredis.Redis.cluster_replicate` CLUSTER RESET ************* Resets a node. - Documentation: `CLUSTER RESET `_ - Implementation: :meth:`~coredis.Redis.cluster_reset` CLUSTER SAVECONFIG ****************** Forces a node to save the cluster configuration to disk. - Documentation: `CLUSTER SAVECONFIG `_ - Implementation: :meth:`~coredis.Redis.cluster_saveconfig` CLUSTER SET-CONFIG-EPOCH ************************ Sets the configuration epoch for a new node. - Documentation: `CLUSTER SET-CONFIG-EPOCH `_ - Implementation: :meth:`~coredis.Redis.cluster_set_config_epoch` CLUSTER SETSLOT *************** Binds a hash slot to a node. - Documentation: `CLUSTER SETSLOT `_ - Implementation: :meth:`~coredis.Redis.cluster_setslot` CLUSTER SHARDS ************** Returns the mapping of cluster slots to shards. - Documentation: `CLUSTER SHARDS `_ - Implementation: :meth:`~coredis.Redis.cluster_shards` - New in redis: 7.0.0 - .. versionadded:: 3.2.0 CLUSTER SLAVES ************** Lists the replica nodes of a master node. - Documentation: `CLUSTER SLAVES `_ - Implementation: :meth:`~coredis.Redis.cluster_slaves` - Deprecated in redis: 5.0.0. Use :meth:`~coredis.Redis.cluster_replicas` CLUSTER SLOTS ************* Returns the mapping of cluster slots to nodes. - Documentation: `CLUSTER SLOTS `_ - Implementation: :meth:`~coredis.Redis.cluster_slots` - Deprecated in redis: 7.0.0. Use :meth:`~coredis.Redis.cluster_shards` READONLY ******** Enables read-only queries for a connection to a Redis Cluster replica node. - Documentation: `READONLY `_ - Implementation: :meth:`~coredis.Redis.readonly` - .. versionadded:: 3.2.0 READWRITE ********* Enables read-write queries for a connection to a Reids Cluster replica node. - Documentation: `READWRITE `_ - Implementation: :meth:`~coredis.Redis.readwrite` - .. versionadded:: 3.2.0 CLUSTER MIGRATION [X] ********************* Start, monitor and cancel slot migration. - Documentation: `CLUSTER MIGRATION `_ - Not Implemented CLUSTER MYSHARDID [X] ********************* Returns the shard ID of a node. - Documentation: `CLUSTER MYSHARDID `_ - Not Implemented CLUSTER SLOT-STATS [X] ********************** Return an array of slot usage statistics for slots assigned to the current node. - Documentation: `CLUSTER SLOT-STATS `_ - Not Implemented CLUSTER SYNCSLOTS [X] ********************* Internal command for atomic slot migration protocol between cluster nodes. - Documentation: `CLUSTER SYNCSLOTS `_ - Not Implemented