v5:reference:connection:starttrans
startTrans
Description
The function startTrans()
begins a smart transaction.
The optional monitor function is called when a transaction fails. This monitor function can be used to control the behaviour of a transaction if it fails. The default for this function if not set is ADODB_TransMonitor
which is located in the adodb.inc.php
file.
Usage
/* * Assume database connection */ $db->startTrans();
v5/reference/connection/starttrans.txt · Last modified: 2016/08/13 19:06 by mnewnham