Skip to main content
Module

x/upstash_redis/pkg/commands/setnx.ts>SetNxCommand

HTTP based Redis Client for Serverless and Edge Functions
Extremely Popular
Go to Latest
class SetNxCommand
extends Command<number, number>
import { SetNxCommand } from "https://deno.land/x/upstash_redis@v1.19.3/pkg/commands/setnx.ts";

Constructors

new
SetNxCommand(cmd: [string, TData], opts?: CommandOptions<number, number>)

Type Parameters

optional
TData = string