- Preparing search index...
- The search index is not available
actionhero
- getKeys(pattern: string, count?: number, keysAry?: string[], cursor?: number): 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.