Available Commands in @upstash/redis
Bitmap
Generic
Delete one or multiple keys.
Determine if a key exists.
Set a key’s time to live in seconds.
Set the expiration for a key as a UNIX timestamp.
Find all keys matching the given pattern.
Remove the expiration from a key.
Set a key’s time to live in milliseconds.
Set the expiration for a key as a UNIX timestamp specified in milliseconds.
Get the time to live for a key in milliseconds.
Return a random key from the keyspace.
Rename a key.
Rename a key, only if the new key does not exist.
Incrementally iterate the keys space.
Alters the last access time of a key(s). Returns the number of existing keys specified.
Get the time to live for a key.
Determine the type stored at key.
Delete one or more keys.
JSON
Set
Sorted Set
Stream
String
Append a value to a string stored at key.
Decrement the integer value of a key by one.
Decrement the integer value of a key by the given number.
Get the value of a key.
Get the value of a key and delete the key.
Get a substring of the string stored at a key.
Set the string value of a key and return its old value.
Increment the integer value of a key by one.
Increment the integer value of a key by the given amount.
Increment the float value of a key by the given amount.
Get the values of all the given keys.
Set multiple keys to multiple values.
Set multiple keys to multiple values, only if none of the keys exist.
Set the value and expiration in milliseconds of a key.
Set the string value of a key.
Set the value and expiration of a key.
Set the value of a key, only if the key does not exist.
Overwrite part of a string at key starting at the specified offset.
Get the length of the value stored in a key.
Get a substring of the string stored at a key.
Available Commands in @upstash/redis
Bitmap
Generic
Delete one or multiple keys.
Determine if a key exists.
Set a key’s time to live in seconds.
Set the expiration for a key as a UNIX timestamp.
Find all keys matching the given pattern.
Remove the expiration from a key.
Set a key’s time to live in milliseconds.
Set the expiration for a key as a UNIX timestamp specified in milliseconds.
Get the time to live for a key in milliseconds.
Return a random key from the keyspace.
Rename a key.
Rename a key, only if the new key does not exist.
Incrementally iterate the keys space.
Alters the last access time of a key(s). Returns the number of existing keys specified.
Get the time to live for a key.
Determine the type stored at key.
Delete one or more keys.
JSON
Set
Sorted Set
Stream
String
Append a value to a string stored at key.
Decrement the integer value of a key by one.
Decrement the integer value of a key by the given number.
Get the value of a key.
Get the value of a key and delete the key.
Get a substring of the string stored at a key.
Set the string value of a key and return its old value.
Increment the integer value of a key by one.
Increment the integer value of a key by the given amount.
Increment the float value of a key by the given amount.
Get the values of all the given keys.
Set multiple keys to multiple values.
Set multiple keys to multiple values, only if none of the keys exist.
Set the value and expiration in milliseconds of a key.
Set the string value of a key.
Set the value and expiration of a key.
Set the value of a key, only if the key does not exist.
Overwrite part of a string at key starting at the specified offset.
Get the length of the value stored in a key.
Get a substring of the string stored at a key.