
Opens a database in read/write mode, i.e. it allows both read and write SQL statements to run on the database. A transaction is a set of operations considered as one single operation. If a transaction fails, the updates to the database are not committed.
| Name | Description | Type | 
|---|---|---|
| callback | The transaction callback invoked with the SQLTransactionobject that
            represents the transaction. The transaction callback executes the query. | SQLTransactionCallback | 
| errorCallback | An optional callback object containing a method to handle transaction errors. | SQLTransactionErrorCallback | 
| successCallback | An optional callback object containing a method to be executed when the transaction succeeds. | SQLVoidCallback |