IDBPCursorIteratorValue
interface IDBPCursorIteratorValue <DBTypes extends DBSchema | unknown = unknown, TxStores extends ArrayLike<StoreNames<DBTypes>> = ArrayLike<StoreNames<DBTypes>>, StoreName extends StoreNames<DBTypes> = StoreNames<DBTypes>, IndexName extends IndexNames<DBTypes, StoreName> | unknown = unknown, Mode extends IDBTransactionMode = "readonly"> extends IDBPCursorIteratorValueExtends<DBTypes, TxStores, StoreName, IndexName, Mode> {
advance<T>(this: T, count: number): void;
continue<T>(this: T, key?: CursorKey<DBTypes, StoreName, IndexName>): void;
continuePrimaryKey<T>(
}this: T,
key: CursorKey<DBTypes, StoreName, IndexName>,
primaryKey: StoreKey<DBTypes, StoreName>,
): void;§Type Parameters
§
TxStores extends ArrayLike<StoreNames<DBTypes>> = ArrayLike<StoreNames<DBTypes>>
[src]§
StoreName extends StoreNames<DBTypes> = StoreNames<DBTypes>
[src]§
IndexName extends IndexNames<DBTypes, StoreName> | unknown = unknown
[src]§Methods
§
continue<T>(this: T, key?: CursorKey<DBTypes, StoreName, IndexName>): void
[src]Advance the cursor by one record (unless 'key' is provided).
@param key
Advance to the index or object store with a key equal to or greater than this value.
§
continuePrimaryKey<T>(
[src]this: T,
key: CursorKey<DBTypes, StoreName, IndexName>,
primaryKey: StoreKey<DBTypes, StoreName>,
): voidAdvance the cursor by given keys.
The operation is 'and' – both keys must be satisfied.
@param key
Advance to the index or object store with a key equal to or greater than this value.
@param primaryKey
and where the object store has a key equal to or greater than this value.