php - How to set the validity period of the sAdd command in Redis
仅有的幸福
仅有的幸福 2017-06-16 09:18:52
0
1
1500

The set command can set the expiration time in the third parameter. How can it be set like in the sAdd command?

仅有的幸福
仅有的幸福

reply all(1)
洪涛

Set expiration time for an element of the collection is not supported.
EXPIRE key seconds, the expiration time can only be set for the key.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!