Database.Execute Method

Sends a transaction to the database thread. The transaction handle is automatically closed. When the transaction completes, the optional callback is invoked.

void Execute(Transaction txn, SQLTxnSuccess onSuccess, SQLTxnFailure onError, any data, DBPriority priority)

Parameters

Transaction txn

A transaction handle.

SQLTxnSuccess onSuccess

An optional callback to receive a successful transaction.

SQLTxnFailure onError

An optional callback to receive an error message.

any data

An optional value to pass to callbacks.

DBPriority priority
No description.