diff options
author | jerkob <jsterry@gmail.com> | 2020-01-24 16:00:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-24 16:00:45 +0100 |
commit | dc8ebd3a5abaabe69e23f95097594ab4d431944f (patch) | |
tree | 3e571272c83ade3ce56f21d711f772ff7ab57af3 | |
parent | f43a8fb104152f9fc2953967efb01cf542c1b338 (diff) |
Add documentation for trans_depth function
-rw-r--r-- | user_guide_src/source/database/db_driver_reference.rst | 8 |
1 files changed, 8 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..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) |