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.24.0-next.2/pkg/commands/mod.ts";

Constructors

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

Type Parameters

optional
TData = string