-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Description
Description
Introduce new commands that enable setting expiration times for individual fields within a hash. These commands will mirror existing Redis commands for setting key expiration but will be adapted for hash fields.
Proposed Commands
- HEXPIRE: Set TTL in seconds for specified fields within a hash.
- HPEXPIRE: Set TTL in milliseconds for specified fields within a hash.
- HEXPIREAT: Set expiration time as a UNIX timestamp in seconds for specified fields.
- HPEXPIREAT: Set expiration time as a UNIX timestamp in milliseconds for specified fields.
- HPERSIST: Remove expiration time from specified fields.
- HEXPIRETIME: Retrieve the expiration time in seconds for specified fields.
- HPEXPIRETIME: Retrieve the expiration time in milliseconds for specified fields.
- HTTL: Retrieve the TTL in seconds for specified fields.
- HPTTL: Retrieve the TTL in milliseconds for specified fields.
Request for Comments
Feedback on the implementations is highly welcome. Please share any concerns or additional features that should be considered.
Metadata
Metadata
Assignees
Labels
No labels