Generic
EXPIRE
Sets a timeout on key. The key will automatically be deleted.
Arguments
The key to set the timeout on.
How many seconds until the key should be deleted.
Response
1
if the timeout was set, 0
otherwise
Was this page helpful?
Sets a timeout on key. The key will automatically be deleted.
The key to set the timeout on.
How many seconds until the key should be deleted.
1
if the timeout was set, 0
otherwise
Was this page helpful?