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

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

HTTP based Redis Client for Serverless and Edge Functions
Extremely Popular
Go to Latest
type alias SetCommandOptions
import { type SetCommandOptions } from "https://deno.land/x/upstash_redis@v1.20.5-canary.0/pkg/commands/set.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; })