- Preparing search index...
- The search index is not available
actionhero
- getKeys(pattern, count?, keysAry?, cursor?): Promise<string[]>
-
Parameters
-
pattern: string
-
count: number = scanCount
-
keysAry: string[] = []
-
cursor: number = 0
Returns Promise<string[]>
A generic method to find all keys which match a pattern.
Pattern
likely has a * at the end of the string. Other arguments are for recursion and not required.