kevy4.0

HEXPIRE

Set per-field TTLs on a hash, in seconds.

HEXPIRE key seconds [NX|XX|GT|LT] FIELDS numfields field [field ...]
Group
Hash
Since
1.0.0
Arity
at least 6
Flags
write

Complexity

O(F) fields in the FIELDS clause

Complexity and compatibility are read out of kevy's implementation, not copied from Redis's reference. Several genuinely differ.

Redis compatibility

Differs

the FIELDS parse error reads 'Mandatory keyword FIELDS is missing' where Redis says 'Mandatory argument FIELDS'

See also

HDELHEXISTSHGETHGETALLHINCRBYHKEYSHLENHMGETHMSETHPERSISTHPEXPIREHPEXPIREATHPTTLHSCANHSETHSETNXHTTLHVALS

← All commands