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
Go to Latest
class SetNxCommand
extends Command<number, number>
import { SetNxCommand } from "https://deno.land/x/upstash_redis@v1.12.0-next.1/pkg/commands/mod.ts";

Constructors

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

Type Parameters

optional
TData = string