Allows scripts to atomically verify the database version number and change it at the same time as doing a schema update.
Name | Description | Type |
---|---|---|
callback | An object containing the transaction callback invoked with the
SQLTransaction object that represents the transaction. |
SQLTransactionCallback |
errorCallback | An optional callback object containing a method to be called when an SQL error occurs. | SQLTransactionErrorCallback |
newVersion | The new database version. | String |
oldVersion | The old database version. | String |
successCallback | An optional callback object containing a method to be called when an SQL statement is executed successfully. | SQLVoidCallback |