Skip to main content

Type Alias: KeyTypeForScanOptions<O>

KeyTypeForScanOptions<O> = O extends ScanIndexOptions ? IndexKey : string

If the options contains an indexName then the key type is a tuple of secondary and primary.

Type Parameters

O

O extends ScanOptions