I want all idbclients, whats it script form redis cli?
Asked
Active
Viewed 1,420 times
1 Answers
1
Take a look at http://redis.io/commands where you'll find all commands. It's worth to have a good feeling for them before using a GUI. Selecting a number of keys with a pattern is documented at http://redis.io/commands/keys.
So in your case simply call keys urn:idbclients:*
in the CLI (or if you're scripting then run this command from inside your script using your client library).

themue
- 7,626
- 2
- 25
- 28
-
2Just to be clear - Redis doesn't have a single command to delete keys based on a pattern so scripting is the way to do it. For an example of such a script (which uses the safer SCAN instead of KEYS) see here: http://stackoverflow.com/a/23399125/3160475 – Itamar Haber Oct 28 '14 at 09:12