Skip to main content

Documentation Index

Fetch the complete documentation index at: https://upstash.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Arguments

key
string
required
The key to get.
start
integer
required
The start index of the substring.
end
integer
required
The end index of the substring.

Response

The substring.
const substring = await redis.getrange("key", 2, 4);