diff options
author | Andrey Andreev <narf@devilix.net> | 2020-01-28 20:39:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-28 20:39:30 +0100 |
commit | 2ad24af488da7dc518684cc146914b2937749031 (patch) | |
tree | ed521666411579749d117091df4b507268830b14 /user_guide_src/source | |
parent | 28f50a8f4a701e76b17aa91f00fae662aea22876 (diff) | |
parent | 259da38bedb09b4df1a94a922ec9b3e8d4f53d23 (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 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) |