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

x/upstash_redis/pkg/commands/json_set.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.24.0-next.2/pkg/commands/json_set.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>
)[]