Optional arguments for the HGETEX command.
// Get fields and set 30 second expirationconst options: HGetExOptions = { expiry: { type: TimeUnit.Seconds, count: 30 }};// Get fields and remove expirationconst persistOptions: HGetExOptions = { expiry: "PERSIST"}; Copy
// Get fields and set 30 second expirationconst options: HGetExOptions = { expiry: { type: TimeUnit.Seconds, count: 30 }};// Get fields and remove expirationconst persistOptions: HGetExOptions = { expiry: "PERSIST"};
See https://valkey.io/commands/hgetex/ for more details.
Optional
Expiry settings for the fields. Can be a time-based expiry or "PERSIST" to remove expiration.
Optional arguments for the HGETEX command.
Example
See https://valkey.io/commands/hgetex/ for more details.