v5:reference:connection:hasfailedtrans
This is an old revision of the document!
hasFailedTrans
Syntax
bool hasFailedTrans()
Description
The function hasFailedTrans()
reports if a granular transaction has failed.
Usage
$db->beginTrans() /* * Table updates, correct? */ if ($db->hasFailedTrans()) /* * Do something * /
v5/reference/connection/hasfailedtrans.1438915781.txt.gz · Last modified: 2017/04/21 11:34 (external edit)