Can you set the expiration time for each secondary key in the hash table in redis?

hash table in redis, such as key--name: {"key":1,"key1":2}

I think the secondary key in the hash table expires automatically, but it looks like this function after taking a look at the official redis documentation. Can I do this?

Mar.19,2021

No, expiration can only be set on top-level Key.
https://github.com/antirez/re.

Menu