Commands

COPY

Copies the value of a key to a new key.

Learn more →
Read more

DEL

Deletes one or more keys.

Learn more →
Read more

DUMP

Returns a serialized representation of the value stored at a key.

Learn more →
Read more

EXISTS

Determines whether one or more keys exist.

Learn more →
Read more

EXPIRE

Sets the expiration time of a key in seconds.

Learn more →
Read more

EXPIREAT

Sets the expiration time of a key to a Unix timestamp.

Learn more →
Read more

EXPIRETIME

Returns the expiration time of a key as a Unix timestamp.

Learn more →
Read more

KEYS

Returns all key names that match a pattern.

Learn more →
Read more

MIGRATE

Atomically transfers a key from one Redis instance to another.

Learn more →
Read more

MOVE

Moves a key to another database.

Learn more →
Read more

OBJECT ENCODING

Returns the internal encoding of a Redis object.

Learn more →
Read more

OBJECT FREQ

Returns the logarithmic access frequency counter of a Redis object.

Learn more →
Read more

OBJECT IDLETIME

Returns the time since the last access to a Redis object.

Learn more →
Read more

OBJECT REFCOUNT

Returns the reference count of a value of a key.

Learn more →
Read more

PERSIST

Removes the expiration time of a key.

Learn more →
Read more

PEXPIRE

Sets the expiration time of a key in milliseconds.

Learn more →
Read more

PEXPIREAT

Sets the expiration time of a key to a Unix milliseconds timestamp.

Learn more →
Read more

PEXPIRETIME

Returns the expiration time of a key as a Unix milliseconds timestamp.

Learn more →
Read more

PTTL

Returns the expiration time in milliseconds of a key.

Learn more →
Read more

RANDOMKEY

Returns a random key name from the database.

Learn more →
Read more

RENAME

Renames a key and overwrites the destination.

Learn more →
Read more

RENAMENX

Renames a key only when the target key name doesn't exist.

Learn more →
Read more

RESTORE

Creates a key from the serialized representation of a value.

Learn more →
Read more

SCAN

Iterates over the key names in the database.

Learn more →
Read more

SORT

Sorts the elements in a list, a set, or a sorted set, optionally storing the result.

Learn more →
Read more

SORT_RO

Returns the sorted elements of a list, a set, or a sorted set.

Learn more →
Read more

TOUCH

Returns the number of existing keys out of those specified after updating the time they were last accessed.

Learn more →
Read more

TTL

Returns the expiration time in seconds of a key.

Learn more →
Read more

TYPE

Determines the type of value stored at a key.

Learn more →
Read more

UNLINK

Asynchronously deletes one or more keys.

Learn more →
Read more

WAIT

Blocks until the asynchronous replication of all preceding write commands sent by the connection is completed.

Learn more →
Read more

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.

Learn more →
Read more