A provider transaction is a set of operations that are executed atomically by the provider. The transaction is created by calling the transact method on the provider. The transaction object contains methods specific to the provider allowing it to optionally choose to execute a single command or collect all commands and execute as a single transaction.

interface ProviderTransaction {
    exec(): Promise<any>;
    [key: string]: any;
}

Hierarchy (view full)

Indexable

  • [key: string]: any

Methods

Methods