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

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

HTTP based Redis Client for Serverless and Edge Functions
Go to Latest
type alias SetCommandOptions
import { type SetCommandOptions } from "https://deno.land/x/upstash_redis@v1.22.0/pkg/commands/mod.ts";
definition: { get?: boolean; } & (
| { ex: number; px?: never; exat?: never; pxat?: never; keepTtl?: never; }
| { ex?: never; px: number; exat?: never; pxat?: never; keepTtl?: never; }
| { ex?: never; px?: never; exat: number; pxat?: never; keepTtl?: never; }
| { ex?: never; px?: never; exat?: never; pxat: number; keepTtl?: never; }
| { ex?: never; px?: never; exat?: never; pxat?: never; keepTtl: true; }
| { ex?: never; px?: never; exat?: never; pxat?: never; keepTtl?: never; }
) & ({ nx: true; xx?: never; } | { xx: true; nx?: never; } | { xx?: never; nx?: never; })