Polkadot Apps
    Preparing search index...
    interface Dexie {
        _allTables: { [name: string]: Table<any, IndexableType, any> };
        _createTransaction: (
            this: Dexie,
            mode: IDBTransactionMode,
            storeNames: ArrayLike<string>,
            dbschema: DbSchema,
            parentTransaction?: Transaction | null,
        ) => Transaction;
        _dbSchema: DbSchema;
        _novip: Dexie;
        _options: DexieOptions;
        Collection: { prototype: Collection };
        core: DBCore;
        name: string;
        on: DbEvents;
        once: DbEventFns;
        Table: { prototype: Table };
        tables: Table<any, any, any>[];
        Transaction: { prototype: Transaction };
        verno: number;
        Version: Function & { prototype: ExtendableVersion };
        vip: Dexie;
        WhereClause: { prototype: WhereClause };
        backendDB(): IDBDatabase;
        close(closeOptions?: { disableAutoOpen: boolean }): void;
        delete(closeOptions?: { disableAutoOpen: boolean }): PromiseExtended<void>;
        dynamicallyOpened(): boolean;
        hasBeenClosed(): boolean;
        hasFailed(): boolean;
        isOpen(): boolean;
        open(): PromiseExtended<Dexie>;
        table<T = any, TKey = IndexableType, TInsertType = T>(
            tableName: string,
        ): Table<T, TKey, TInsertType>;
        transaction<U>(
            mode: TransactionMode,
            tables: readonly (string | Table<any, any, any>)[],
            scope: (trans: Transaction) => U | PromiseLike<U>,
        ): PromiseExtended<U>;
        transaction<U>(
            mode: TransactionMode,
            table: string | Table<any, any, any>,
            scope: (trans: Transaction) => U | PromiseLike<U>,
        ): PromiseExtended<U>;
        transaction<U>(
            mode: TransactionMode,
            table: string | Table<any, any, any>,
            table2: string | Table<any, any, any>,
            scope: (trans: Transaction) => U | PromiseLike<U>,
        ): PromiseExtended<U>;
        transaction<U>(
            mode: TransactionMode,
            table: string | Table<any, any, any>,
            table2: string | Table<any, any, any>,
            table3: string | Table<any, any, any>,
            scope: (trans: Transaction) => U | PromiseLike<U>,
        ): PromiseExtended<U>;
        transaction<U>(
            mode: TransactionMode,
            table: string | Table<any, any, any>,
            table2: string | Table<any, any, any>,
            table3: string | Table<any, any, any>,
            table4: string | Table<any, any, any>,
            scope: (trans: Transaction) => U | PromiseLike<U>,
        ): PromiseExtended<U>;
        transaction<U>(
            mode: TransactionMode,
            table: string | Table<any, any, any>,
            table2: string | Table<any, any, any>,
            table3: string | Table<any, any, any>,
            table5: string | Table<any, any, any>,
            scope: (trans: Transaction) => U | PromiseLike<U>,
        ): PromiseExtended<U>;
        unuse(__namedParameters: Middleware<{ stack: "dbcore" }>): this;
        unuse(__namedParameters: { name: string; stack: "dbcore" }): this;
        use(middleware: Middleware<DBCore>): this;
        version(versionNumber: number): Version;
    }
    Index

    Properties

    _allTables: { [name: string]: Table<any, IndexableType, any> }
    _createTransaction: (
        this: Dexie,
        mode: IDBTransactionMode,
        storeNames: ArrayLike<string>,
        dbschema: DbSchema,
        parentTransaction?: Transaction | null,
    ) => Transaction
    _dbSchema: DbSchema
    _novip: Dexie
    _options: DexieOptions
    Collection: { prototype: Collection }
    core: DBCore
    name: string
    on: DbEvents
    once: DbEventFns
    Table: { prototype: Table }
    tables: Table<any, any, any>[]
    Transaction: { prototype: Transaction }
    verno: number
    Version: Function & { prototype: ExtendableVersion }
    vip: Dexie
    WhereClause: { prototype: WhereClause }

    Methods

    • Returns IDBDatabase

    • Parameters

      • OptionalcloseOptions: { disableAutoOpen: boolean }

      Returns void

    • Parameters

      • OptionalcloseOptions: { disableAutoOpen: boolean }

      Returns PromiseExtended<void>

    • Returns boolean

    • Returns boolean

    • Returns boolean

    • Returns boolean

    • Returns PromiseExtended<Dexie>

    • Type Parameters

      • T = any
      • TKey = IndexableType
      • TInsertType = T

      Parameters

      • tableName: string

      Returns Table<T, TKey, TInsertType>

    • Type Parameters

      • U

      Parameters

      • mode: TransactionMode
      • tables: readonly (string | Table<any, any, any>)[]
      • scope: (trans: Transaction) => U | PromiseLike<U>

      Returns PromiseExtended<U>

    • Type Parameters

      • U

      Parameters

      • mode: TransactionMode
      • table: string | Table<any, any, any>
      • scope: (trans: Transaction) => U | PromiseLike<U>

      Returns PromiseExtended<U>

    • Type Parameters

      • U

      Parameters

      • mode: TransactionMode
      • table: string | Table<any, any, any>
      • table2: string | Table<any, any, any>
      • scope: (trans: Transaction) => U | PromiseLike<U>

      Returns PromiseExtended<U>

    • Type Parameters

      • U

      Parameters

      • mode: TransactionMode
      • table: string | Table<any, any, any>
      • table2: string | Table<any, any, any>
      • table3: string | Table<any, any, any>
      • scope: (trans: Transaction) => U | PromiseLike<U>

      Returns PromiseExtended<U>

    • Type Parameters

      • U

      Parameters

      • mode: TransactionMode
      • table: string | Table<any, any, any>
      • table2: string | Table<any, any, any>
      • table3: string | Table<any, any, any>
      • table4: string | Table<any, any, any>
      • scope: (trans: Transaction) => U | PromiseLike<U>

      Returns PromiseExtended<U>

    • Type Parameters

      • U

      Parameters

      • mode: TransactionMode
      • table: string | Table<any, any, any>
      • table2: string | Table<any, any, any>
      • table3: string | Table<any, any, any>
      • table5: string | Table<any, any, any>
      • scope: (trans: Transaction) => U | PromiseLike<U>

      Returns PromiseExtended<U>

    • Parameters

      • __namedParameters: Middleware<{ stack: "dbcore" }>

      Returns this

    • Parameters

      • __namedParameters: { name: string; stack: "dbcore" }

      Returns this

    • Parameters

      • middleware: Middleware<DBCore>

      Returns this

    • Parameters

      • versionNumber: number

      Returns Version