Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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

§
DBTypes extends DBSchema | unknown = unknown
[src]
§
TxStores extends ArrayLike<StoreNames<DBTypes>> = ArrayLike<StoreNames<DBTypes>>
[src]
§
StoreName extends StoreNames<DBTypes> = StoreNames<DBTypes>
[src]
§
IndexName extends IndexNames<DBTypes, StoreName> | unknown = unknown
[src]
§
Mode extends IDBTransactionMode = "readonly"
[src]

§Extends

§
IDBPCursorIteratorValueExtends<DBTypes, TxStores, StoreName, IndexName, Mode>
[src]

§Methods

§
advance<T>(this: T, count: number): void
[src]

Advances the cursor a given number of records.

§
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>(
this: T,
key: CursorKey<DBTypes, StoreName, IndexName>,
primaryKey: StoreKey<DBTypes, StoreName>,
): void
[src]

Advance 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.