Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/upstash_redis/pkg/commands/zrange.ts>ZRangeCommand

HTTP based Redis Client for Serverless and Edge Functions
Go to Latest
class ZRangeCommand
extends Command<string[], TData>
import { ZRangeCommand } from "https://deno.land/x/upstash_redis@v1.23.2/pkg/commands/zrange.ts";

Constructors

new
ZRangeCommand(cmd:
[
string,
number,
number,
]
, cmdOpts?: CommandOptions<string[], TData>
)
new
ZRangeCommand(cmd:
[
string,
| `(${string}`
| `[${string}`
| "-"
| "+"
,
| `(${string}`
| `[${string}`
| "-"
| "+"
,
{ byLex: true; } & ZRangeCommandOptions,
]
, cmdOpts?: CommandOptions<string[], TData>
)
new
ZRangeCommand(cmd:
[
string,
| number
| `(${number}`
| "-inf"
| "+inf"
,
| number
| `(${number}`
| "-inf"
| "+inf"
,
{ byScore: true; } & ZRangeCommandOptions,
]
, cmdOpts?: CommandOptions<string[], TData>
)
new
ZRangeCommand(unnamed 0:
[
string,
number | string,
number | string,
]
, cmdOpts?: CommandOptions<string[], TData>
)

Type Parameters

TData extends unknown[]