Interface CursorValue2<V, T, K>

interface CursorValue2<V, T, K> {
    key: T;
    primaryKey: K;
    value: V;
    delete(): Promise<void>;
    update(newValue): Promise<T>;
}

Type Parameters

  • V

  • T extends IDBValidKey

  • K extends IDBValidKey

Hierarchy (view full)

Properties

Methods

Properties

key: T
primaryKey: K
value: V

Methods

  • Returns Promise<void>

  • Parameters

    • newValue: V

    Returns Promise<T>