await redis.hset("my-key", "my-field", "my-value"); await redis.hpexpire("my-key", "my-field", 1000); const expirationRemoved = await redis.hpersist("my-key", "my-field"); console.log(expirationRemoved); // [1]
Remove the expiration from one or more fields in a hash.
-2
-1
1
Was this page helpful?