Remove expiration from hash fields (Redis 7.4+) Syntax: HPERSIST key FIELDS numfields field [field ...]
method
RedisClient.hpersist
Referenced types
type KeyLike = string | ArrayBufferView | Blob
method
Remove expiration from hash fields (Redis 7.4+) Syntax: HPERSIST key FIELDS numfields field [field ...]
Array where each element is: -2 (field doesn't exist), -1 (no expiration), 1 (expiration removed)
redis.hpersist("mykey", "FIELDS", 1, "field1")