Skip to content

abortTransaction

Kristof degrave edited this page Apr 12, 2017 · 1 revision

abortTransaction

The abortTransaction function closes aborts a transaction the indexedDB database.

Parameters

  • transaction:
    • The transaction you want to abort.

Example

{{ var dbpromise = linq2indexedDB.core.db("name", 1) linq2indexedDB.core.transaction(dbpromise, "objectstore").then(progress); function success(args){ var transaction = args0; linq2indexedDB.core.abortTransaction(transaction); } }}

Clone this wiki locally