Type aliases
KeyTypeForScanOptions
KeyTypeForScanOptions<O>: O extends { indexName: string } ? ScanOptionIndexedStartKey : string
Type parameters
Mutator
Mutator<Return, Args>: (args: Args) => Promise<Return | void>
Type parameters
-
Return: JSONValue | void
-
Args: JSONValue
Type declaration
-
- (args: Args): Promise<Return | void>
-
Parameters
Returns Promise<Return | void>
ScanIndexOptions
Scan
IndexOptions: { indexName: string; limit?: undefined | number; prefix?: undefined | string; start?: undefined | { exclusive?: undefined | false | true; key: ScanOptionIndexedStartKey } }
Type declaration
-
indexName: string
-
Optional limit?: undefined | number
-
Optional prefix?: undefined | string
-
Optional start?: undefined | { exclusive?: undefined | false | true; key: ScanOptionIndexedStartKey }
ScanNoIndexOptions
ScanNoIndexOptions: { limit?: undefined | number; prefix?: undefined | string; start?: undefined | { exclusive?: undefined | false | true; key: string } }
Type declaration
-
Optional limit?: undefined | number
-
Optional prefix?: undefined | string
-
Optional start?: undefined | { exclusive?: undefined | false | true; key: string }
ScanOptionIndexedStartKey
ScanOptionIndexedStartKey: [] | string