Protected
clientProtected
Optional
namespaceProtected
yieldDeletes multiple keys from the Upstash Redis database.
Array of keys to be deleted.
Promise that resolves when all keys have been deleted.
Gets multiple keys from the Upstash Redis database.
Array of keys to be retrieved.
An array of retrieved values.
Sets multiple keys in the Upstash Redis database.
Array of key-value pairs to be set.
Promise that resolves when all keys have been set.
Yields keys from the Upstash Redis database.
Optional
prefix: stringOptional prefix to filter the keys. A wildcard (*) is always appended to the end.
An AsyncGenerator that yields keys from the Upstash Redis database.
Class that extends the BaseStore class to interact with an Upstash Redis database. It provides methods for getting, setting, and deleting data, as well as yielding keys from the database.
Example