Get a substring of the string stored at a key
method
RedisClient.getrange
@param key
The key to get the substring from
@param start
The starting offset (can be negative to count from the end)
@param end
The ending offset (can be negative to count from the end)
@returns
Promise that resolves with the substring, or an empty string if the key doesn't exist
Referenced types
type KeyLike = string | ArrayBufferView | Blob