Overall
SDKs
- Typescript
- Python
- upstash-ratelimit
- upstash-vector
- upstash-redis
- Overview
- Getting Started
- Features
- Commands
- Overview
- Auth
- Bitmap
- Generic
- Hash
- Json
- List
- PubSub
- Scripts
- Server
- Set
- Sorted Set
- String
- upstash-qstash
DevOps
- Terraform
- Pulumi
- CLI
Overview
Available Commands in upstash-redis
BITCOUNT
Count set bits in a string.
BITFIELD
Perform bitwise operations between strings.
BITOP
Perform bitwise operations between strings.
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.
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.
PSETEX
Set the value and expiration in milliseconds of a key.
SET
Set the string value of a key.
SETEX
Set the value and expiration of a key.
SETNX
Set the value of a key, only if the key does not exist.
SETRANGE
Overwrite part of a string at key starting at the specified offset.
STRLEN
Get the length of the value stored in a key.
SUBSTR
Get a substring of the string stored at a key.