Append a value to a key
BLPOP is a blocking list pop primitive. It is the blocking version of LPOP because it blocks the connection when there are no elements to pop from any of the given lists.
Return the number of keys in the selected database
Decrement the integer value of a key by one
Delete a key
Deletes all keys of the database.
Execute a Lua script server side
Evaluates a script cached on the server side by its SHA1 digest. Scripts are cached on the server side using the scriptLoad function.
Determine if a key exists
Set a key's time to live in seconds
Set a key's time to live with D notation. E.g. 5.minutes for 60 * 5 seconds.
Set the expiration for a key as a UNIX timestamp
Get the value of a key
Returns the bit value at offset in the string value stored at key
Get a substring of the string stored at a key
Set the string value of a key and return its old value
Delete one or more hash fields
Determine if a hash field exists
Get the value of a hash field.
Get all the fields and values in a hash
Increment the integer value of a hash field
Increment the real number value of a hash field
Get all the fields in a hash
Get the number of fields in a hash
Get the values of all the given hash fields
Set multiple hash fields to multiple values
Set multiple hash fields to multiple values
Set the value of a hash field, only if the field does not exist
Get all the values in a hash
Increment the integer value of a key
Increment the real number value of a key
Find all keys matching the given glob-style pattern (Supported wildcards: *, ?, ABC)
Get an element from a list by its index
Insert value in the list stored at key after the reference value pivot.
Insert value in the list stored at key before the reference value pivot.
Returns the length of the list stored at key. If key does not exist, it is interpreted as an empty list and 0 is returned.
Removes and returns the first element of the list stored at key.
Insert all the specified values at the head of the list stored at key.
Inserts value at the head of the list stored at key, only if key already exists and holds a list.
Returns the specified elements of the list stored at key.
Removes the first count occurrences of elements equal to value from the list stored at key.
Sets the list element at index to value.
Trim an existing list so that it will contain only the specified range of elements specified. Equivalent to range = range[start .. stop+1]
Get the values of all the given keys
Move a key to another database
Set multiple keys to multiple values
Set multiple keys to multiple values, only if none of the keys exist
Remove the expiration from a key
Adds one or more Keys to a HyperLogLog data structure .
Returns the approximated cardinality computed by the HyperLogLog data structure stored at the specified key.
Merge multiple HyperLogLog values into a new one.
Get the time to live for a key in milliseconds
Publishes a message to all clients subscribed at the channel
Inspect the state of the Pub/Sub subsystem
Return a random key from the keyspace
Rename a key
Rename a key, only if the new key does not exist
Run the specified command and arguments in the Redis database server
Removes and returns the last element of the list stored at key.
Atomically returns and removes the last element (tail) of the list stored at source, and pushes the element at the first element (head) of the list stored at destination.
Insert all the specified values at the tail of the list stored at key.
Inserts value at the tail of the list stored at key, only if key already exists and holds a list.
Add the specified members to the set stored at key. Specified members that are already a member of this set are ignored. If key does not exist, a new set is created before adding the specified members.
Returns the set cardinality (number of elements) of the set stored at key.
Load a script into the scripts cache, without executing it. Run it using evalSHA.
Returns the members of the set resulting from the difference between the first set and all the successive sets.
This command is equal to SDIFF, but instead of returning the resulting set, it is stored in destination. If destination already exists, it is overwritten.
Set the string value of a key
Sets or clears the bit at offset in the string value stored at key
Set the value and expiration of a key
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, and also set the specified expire time using D notation, e.g. 5.minutes for 5 minutes.
Overwrite part of a string at key starting at the specified offset
Set the value of a key, only if the key already exists
Set the value of a key, only if the key already exists, and also set the specified expire time using D notation, e.g. 5.minutes for 5 minutes.
Returns the members of the set resulting from the intersection of all the given sets.
This command is equal to SINTER, but instead of returning the resulting set, it is stored in destination. If destination already exists, it is overwritten.
Returns if member is a member of the set stored at key.
Returns all the members of the set value stored at key.
Move member from the set at source to the set at destination. This operation is atomic. In every given moment the element will appear to be a member of source or destination for other clients.
Removes and returns a random element from the set value stored at key.
Returns a random element from the set stored at key.
returns count random elements from the set stored at key
Remove the specified members from the set stored at key.
Get the length of the value stored in a key
Returns the members of the set resulting from the union of all the given sets.
This command is equal to SUNION, but instead of returning the resulting set, it is stored in destination.
Get the time to live for a key
Determine the type stored at key (string, list, set, zset and hash.)
Add one or more members to a sorted set, or update its score if it already exists
Returns the sorted set cardinality (number of elements) of the sorted set stored at key.
Returns the number of elements in the sorted set at key with a score between min and max
Increments the score of member in the sorted set stored at key by increment.
Returns the specified range of elements in the sorted set stored at key.
When all the elements in a sorted set are inserted with the same score, in order to force lexicographical ordering, this command returns all the elements in the sorted set at key with a value between min and max.
Returns all the elements in the sorted set at key with a score between start and end inclusively
Computes an internal list of elements in the sorted set at key with a score between start and end inclusively, and returns a range subselection similar to results[offset .. offset+count]
Returns the rank of member in the sorted set stored at key, with the scores ordered from low to high.
Removes the specified members from the sorted set stored at key.
Removes all elements in the sorted set stored at key with rank between start and stop.
Removes all elements in the sorted set stored at key with a score between min and max (inclusive).
Returns the specified range of elements in the sorted set stored at key.
Returns all the elements in the sorted set at key with a score between max and min (including elements with score equal to max or min).
Computes an internal list of elements in the sorted set at key with a score between max and min, and returns a window of elements selected in a way equivalent to results[offset .. offset + count]
Returns the rank of member in the sorted set stored at key, with the scores ordered from high to low.
Returns the score of member in the sorted set at key.
Accesses the contents of a Redis database