Hi

I know the KEYS command, but that only returns all keys in this database.

Is there a command or method for getting all keys based on specific type in the database?

Thanks

Comment From: charsyam

@maoyubin There is no commands for it. just get all keys with Keys and using type command

Comment From: sundb

Since 6.0 we can use scan ... type <type> to get keys based on a specific type, close it.