Implement HPEXPIREAT command #116
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
good first issue
Good for newcomers
Sets the exact expiration time from now, in milliseconds, of a field in a hash.
Reference: https://redis.io/docs/latest/commands/hpexpireat/
Client-Server Spec:
Command File: ./internal/modules/hash/commands.go
Test File: ./internal/modules/hash/commands_test.go
Command:
hpexpireat
Module:
constants.HashModule
Categories:
contants.HashCategory
,constants.WriteCategory
,constants.FastCategory
Description:
(HPEXPIREAT key unix-time-milliseconds [NX | XX | GT | LT] FIELDS numfields field [field ...]) Sets the exact expiration time from now, in milliseconds, of a field in a hash.
Sync:
true
NOTE: You may need to change the internal representation of the hash to hold a more complex data type that includes the field's value and expiry time instead of just the value. If the representation is already changed from a previous implementation, use the current one.
Embedded Spec:
Command File: ./echovault/api_hash.go
Test File: ./echovault/api_hash_test.go
Documentation
Add documentation to
./docs/docs/commands/hash/HPEXPIREAT.mdx
The text was updated successfully, but these errors were encountered: