From dc8ebd3a5abaabe69e23f95097594ab4d431944f Mon Sep 17 00:00:00 2001 From: jerkob Date: Fri, 24 Jan 2020 10:00:45 -0500 Subject: Add documentation for trans_depth function --- user_guide_src/source/database/db_driver_reference.rst | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'user_guide_src/source') diff --git a/user_guide_src/source/database/db_driver_reference.rst b/user_guide_src/source/database/db_driver_reference.rst index c240526e0..f1fbc1c87 100644 --- a/user_guide_src/source/database/db_driver_reference.rst +++ b/user_guide_src/source/database/db_driver_reference.rst @@ -161,6 +161,14 @@ 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() + + :returns: The current transaction depth + :rtype: int + + Lets you retrieve the transaction depth value which + will be 1 or greater if a transaction is active. .. php:method:: compile_binds($sql, $binds) -- cgit v1.2.3-24-g4f1b