I can't find the command equivalent to keys in Stack Exchange Redis

user3007273 picture user3007273 · Apr 7, 2014 · Viewed 7.4k times · Source

I just switched to Stack Exchange Redis, and I could'nt find the command keys equivalent. Is it omitted or in some other place rather than getdatabase()?

Answer

Marc Gravell picture Marc Gravell · Apr 16, 2014

See https://stackexchange.github.io/StackExchange.Redis/KeysScan

This command (for reasons discussed in the link) is a server command, not a database command, and is available via GetServer(...).Keys(...).