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

x/upstash_redis/pkg/commands/zadd.ts>ZAddCommand

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

Constructors

new
ZAddCommand(cmd: [string, ScoreMember<TData>, ScoreMember<TData>[]], opts?: CommandOptions<number | null, number | null>)
new
ZAddCommand(cmd: [string, ZAddCommandOptions | ZAddCommandOptionsWithIncr, ScoreMember<TData>[]], opts?: CommandOptions<number | null, number | null>)
new
ZAddCommand(unnamed 0: [string, Arg2<TData>, ...ScoreMember<TData>[]], opts?: CommandOptions<number | null, number | null>)

Type Parameters

optional
TData = string