summaryrefslogtreecommitdiffstats
path: root/user_guide_src
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2020-01-28 20:39:30 +0100
committerGitHub <noreply@github.com>2020-01-28 20:39:30 +0100
commit2ad24af488da7dc518684cc146914b2937749031 (patch)
treeed521666411579749d117091df4b507268830b14 /user_guide_src
parent28f50a8f4a701e76b17aa91f00fae662aea22876 (diff)
parent259da38bedb09b4df1a94a922ec9b3e8d4f53d23 (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')
-rw-r--r--user_guide_src/source/database/db_driver_reference.rst7
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 c240526e0..ad53c2bfc 100644
--- a/user_guide_src/source/database/db_driver_reference.rst
+++ b/user_guide_src/source/database/db_driver_reference.rst
@@ -161,6 +161,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)