Interface DexieTableLike<T, TKey>

Dexie Table like structure

interface DexieTableLike<T, TKey> {
    bulkGet(keys): DexiePromiseExtended<(undefined | T)[]>;
    bulkPut(items, keys?, options?): DexiePromiseExtended<TKey>;
    clear(): DexiePromiseExtended<void>;
    get(key): DexiePromiseExtended<undefined | T>;
    orderBy(index): DexieCollection<T, TKey>;
    put(item, key?): DexiePromiseExtended<TKey>;
    toArray(): DexiePromiseExtended<T[]>;
    toCollection(): {
        get primaryKeys(): {
            (): DexiePromiseExtended<TKey[]>;
            <R>(thenShortcut): DexiePromiseExtended<R>;
        };
    };
    where(index): DexieWhereClause<T, TKey>;
}

Type Parameters

Methods

Generated using TypeDoc