Skip to main content
Module

x/upstash_redis/pkg/commands/mod.ts>JsonSetCommand

HTTP based Redis Client for Serverless and Edge Functions
Extremely Popular
Go to Latest
class JsonSetCommand
extends Command<"OK" | null, "OK" | null>
import { JsonSetCommand } from "https://deno.land/x/upstash_redis@v1.22.0/pkg/commands/mod.ts";

Constructors

new
JsonSetCommand(cmd:
[
string,
string,
{ nx: true; xx?: never; } | { nx?: never; xx: true; },
]
, opts?: CommandOptions<"OK" | null, "OK" | null>
)

Type Parameters

TData extends
| number
| string
| boolean
| Record<string, unknown>
| (
| number
| string
| boolean
| Record<string, unknown>
)[]