Type aliases
InitInput
InitInput: RequestInfo | URL | Response | BufferSource | Module
JSONObject
JSONObject: {}
KeyTypeForScanOptions
KeyTypeForScanOptions<O>: O extends { indexName: string } ? ScanOptionIndexedStartKey : string
Type parameters
MaybePromise
MaybePromise<T>: T | Promise<T>
Type parameters
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
If the options contains an
indexNamethen the key type is a tuple of secondary and primary.