Hi,--
Currently SET can set the expiration:
SET key value [EX seconds] [PX milliseconds] [NX|XX]
Can HMSET support setting the expiration like this ?
HMSET key field value [field value ...] [EX seconds] [PX milliseconds]
Thanks.
Gan
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+unsubscribe@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
Hello Seum-Lim,
While member/element expiration is a feature that has been requested several times in the past, it was not added to Redis mainly due to the complexities it would introduce. At the moment, expiration is only supported at key level.There are, however, ways to implement "manual" expiration and the modules API opens the way to even more useful stuff - perhaps sharing your use case would illicit helpful advice from the forum's dwellers.Cheers,
Itamar
On Jan 31, 2017 11:00 PM, "Seum-Lim Gan" <g...@media.mit.edu> wrote:
Hi,
Currently SET can set the expiration:
SET key value [EX seconds] [PX milliseconds] [NX|XX]
Can HMSET support setting the expiration like this ?
HMSET key field value [field value ...] [EX seconds] [PX milliseconds]
Thanks.
Gan
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.