We now offer enterprise level support and paid hosting. To inquire please email  [email protected] .

KEYS pattern

Returns all keys matching pattern.

Supported glob-style patterns:

  • h?llo matches hello, hallo and hxllo
  • h*llo matches hllo and heeeello
  • h[ae]llo matches hello and hallo, but not hillo
  • h[^e]llo matches hallo, hbllo, … but not hello
  • h[a-b]llo matches hallo and hbllo

Examples

KEYS * # return all keys KEYS fleet:* # return all keys that have the prefix with 'fleet:'