transaction(scope, mode = 'readonly') {
    return new Transaction(
      this._database.transaction(scope, mode),
      this
    );
  }
/**
   * Opens a new transaction to read or read/write data to the specified
   * objectStores. Note that this may not be called inside the `upgrade`
   * handler provided to `IndexedDBP#open`.
   *
   * @param {string|!Array<string>} scope The objectStore(s) that may be
   *     accessed inside the transaction.
   * @param {IDBTransactionMode=} mode Limits data access to the provided mode:
   *     either `readonly` or `readwrite`.
   *     @see https://www.w3.org/TR/IndexedDB/#idl-def-IDBTransactionMode
   * @return {!Transaction} A wrapped IDBTransaction.
   */
Opens a new transaction to read or read/write data to the specified
objectStores. Note that this may not be called inside the `upgrade`
handler provided to `IndexedDBP#open`.

@param {string|!Array} scope The objectStore(s) that may be
accessed inside the transaction.
@param {IDBTransactionMode=} mode Limits data access to the provided mode:
either `readonly` or `readwrite`.
Opens a new transaction to read or read / write data to the specified objectStores . Note that this may not be called inside the ` upgrade ` handler provided to ` IndexedDBP#open ` . @param { string|!Array } scope The objectStore ( s ) that may be accessed inside the transaction . @param { IDBTransactionMode = } mode Limits data access to the provided mode : either ` readonly ` or ` readwrite ` .
transaction(scope, mode = 'readonly') {
    return new Transaction(
      this._database.transaction(scope, mode),
      this
    );
  }
transaction ( scope , mode = 'readonly' ) { return new Transaction ( this . _database . transaction ( scope , mode ) , this ) ; }
Opens a new transaction to read or read/write data to the specified
 objectStores.
Opens a new transaction to read or read / write data to the specified objectStores .