This project has moved and is read-only. For the latest updates, please go here.

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 = args[0]; 
   linq2indexedDB.core.abortTransaction(transaction);
}

Last edited Feb 11, 2014 at 8:34 PM by KDegrave, version 1

Comments

No comments yet.