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

x/upstash_redis/pkg/commands/mod.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.18.5-rc.0/pkg/commands/mod.ts";

Constructors

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

Type Parameters

optional
TData = string