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 [2025/06/01 13:21] (current) – Remove square brackets in tags dregad | ||
|---|---|---|---|
| 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: (external edit)
