Right now the EXPIRE command only allows to set an expiration time on a key. It would be cool to have the possibility to set it on a field of an hash object. For example:
HSET key field "Hello"
EXPIRE key field 10
In the example above the EXPIRE command sets an expiration time of 10 seconds to the field hash field, and not to the key object.
Right now the
EXPIREcommand only allows to set an expiration time on a key. It would be cool to have the possibility to set it on a field of an hash object. For example:In the example above the
EXPIREcommand sets an expiration time of 10 seconds to thefieldhash field, and not to thekeyobject.