v5:reference:connection:hasfailedtrans
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
reference:hasfailedtrans [2015/08/07 04:49] – created mnewnham | v5:reference:connection:hasfailedtrans [2016/03/19 03:23] (current) – mnewnham | ||
---|---|---|---|
Line 2: | Line 2: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
<WRAP right box> | <WRAP right box> | ||
+ | == See Also == | ||
+ | [[v5: | ||
== Syntax == | == Syntax == | ||
bool hasFailedTrans() | bool hasFailedTrans() | ||
</ | </ | ||
===== Description ===== | ===== Description ===== | ||
- | The function '' | + | The function '' |
===== Usage ===== | ===== Usage ===== | ||
<code php> | <code php> | ||
- | $db->beginTrans() | + | $db->startTrans() |
/* | /* | ||
* Table updates, correct? | * Table updates, correct? | ||
*/ | */ | ||
if ($db-> | if ($db-> | ||
+ | { | ||
/* | /* | ||
* Do something | * Do something | ||
- | * / | + | */ |
+ | } | ||
+ | $db-> | ||
</ | </ | ||
+ | {{tag> |
v5/reference/connection/hasfailedtrans.1438915781.txt.gz · Last modified: 2017/04/21 11:34 (external edit)