summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--user_guide_src/source/database/db_driver_reference.rst9
1 files changed, 4 insertions, 5 deletions
diff --git a/user_guide_src/source/database/db_driver_reference.rst b/user_guide_src/source/database/db_driver_reference.rst
index f1fbc1c87..ad53c2bfc 100644
--- a/user_guide_src/source/database/db_driver_reference.rst
+++ b/user_guide_src/source/database/db_driver_reference.rst
@@ -162,13 +162,12 @@ 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_depth()
+ .. php:method:: trans_active()
- :returns: The current transaction depth
- :rtype: int
+ :returns: TRUE if a transaction is active, FALSE if not
+ :rtype: bool
- Lets you retrieve the transaction depth value which
- will be 1 or greater if a transaction is active.
+ Determines if a transaction is currently active.
.. php:method:: compile_binds($sql, $binds)