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

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

HTTP based Redis Client for Serverless and Edge Functions
Go to Latest
class JsonSetCommand
extends Command<"OK" | null, "OK" | null>
import { JsonSetCommand } from "https://deno.land/x/upstash_redis@v1.21.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>
)[]