transaction.abort() - cieszynski/dberta.js GitHub Wiki

Syntax

TRANSACTION.abort()

Return value

undefined

Description

This method conveniently wraps the abort() method of the IDBTransaction interface. It rolls back all the changes to objects in the database associated with this transaction.

Exception

InvalidStateError (from IDBTransaction)