diff options
author | Andrey Andreev <narf@devilix.net> | 2020-01-28 20:39:30 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2020-01-28 20:40:06 +0100 |
commit | 04677270238b52206fc3c3a6894f576d9cc84b98 (patch) | |
tree | ff7a2e653d0a03d54721eeec0f3ec77a71199159 /user_guide_src/source | |
parent | 35480f753240dd913dca879e277bd7b710195546 (diff) |
[ci skip] Merge pull request #5890 from jerkob/develop
Adds a public trans_active function to determine transaction state
Diffstat (limited to 'user_guide_src/source')
-rw-r--r-- | user_guide_src/source/database/db_driver_reference.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/user_guide_src/source/database/db_driver_reference.rst b/user_guide_src/source/database/db_driver_reference.rst index 1f036cd77..94121bffa 100644 --- a/user_guide_src/source/database/db_driver_reference.rst +++ b/user_guide_src/source/database/db_driver_reference.rst @@ -169,6 +169,13 @@ This article is intended to be a reference for them. Lets you retrieve the transaction status flag to determine if it has failed. + + .. php:method:: trans_active() + + :returns: TRUE if a transaction is active, FALSE if not + :rtype: bool + + Determines if a transaction is currently active. .. php:method:: compile_binds($sql, $binds) |