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

x/upstash_redis/pkg/commands/hrandfield.ts>HRandFieldCommand

HTTP based Redis Client for Serverless and Edge Functions
Extremely Popular
Go to Latest
class HRandFieldCommand
extends Command<string | string[], TData>
import { HRandFieldCommand } from "https://deno.land/x/upstash_redis@v1.18.5-rc.0/pkg/commands/hrandfield.ts";

Constructors

new
HRandFieldCommand(cmd: [string], opts?: CommandOptions<string, string>)
new
HRandFieldCommand(cmd: [string, number], opts?: CommandOptions<string[], string[]>)
new
HRandFieldCommand(cmd: [string, number, boolean], opts?: CommandOptions<string[], Partial<TData>>)
new
HRandFieldCommand(cmd: [string, number, boolean], opts?: CommandOptions<any, string | string[] | Partial<TData>>)

Type Parameters

TData extends string | string[] | Record<string, unknown>