Skip to main content
Deno 2 is finally here πŸŽ‰οΈ
Learn more
Module

x/redis/command.ts>SetOpts

πŸ¦• Redis client for Deno πŸ•
Very Popular
Latest
interface SetOpts
import { type SetOpts } from "https://deno.land/x/redis@v0.34.0/command.ts";

Properties

optional
ex: number
optional
px: number
optional
nx: boolean

Sets NX option.

optional
xx: boolean

Sets XX option.

optional
exat: number

Sets EXAT option.

EXAT option was added in Redis v6.2.

optional
pxat: number

Sets PXAT option.

PXAT option was added in Redis v6.2.

optional
keepttl: boolean
optional
get: boolean

Enables GET option.

GET option was added in Redis v6.2.