SETEX does not show TTL as related
https://redis.io/commands/setex/ (https://github.com/redis/redis-doc/edit/master/commands/setex.md) does not list "TTL" in "Related commands" despite using it in the example.
Hi @gnbl
Currently, the "Related Commands" are all commands that belong to the same group as the command itself. SETEX belongs to the "string" group, whereas TTL is a generic keyspace operation that belongs to the "generic" group.
I hope this makes sense and resolves the issue.
Hi, if that's by design, fine - but for me as new redis user it would make sense to include TTL due to its "timeout" relation. Maybe extend "Related Commands" to offer other relations? Just an idea. Feel free to close!
@itamarhaber, I can edit as part of the restructure, since we intend to add Related at the bottom