Typescript
@upstash/redis
Commands
Auth
Bitmap
Generic
Hash
Json
List
PubSub
Scripts
Server
Set
Sorted Set
Stream
String
Transactions
@upstash/query
@upstash/edge-flags
@upstash/ratelimit
Python
Terraform
Pulumi
CLI
await redis.rename("old", "new");
The original key.
A new name for the key.
OK
Was this page helpful?