transact

abstract fun SQLiteDatabase.transact(vararg args: Any?): R

Execute the transaction; this method is called by the SQLite driver to execute the transaction, and may be called multiple times in the event of a rollback or retry.

The args provided, if any, are rendered into the prepared statement which is executed as part of the transaction. The return value R of the transactor is provided to the caller.

Receiver

Database instance.

Return

Return value of the transaction.

Parameters

args

Transaction arguments.