From da1065a091139493d9e80d1cbb635d98d5c3bdb4 Mon Sep 17 00:00:00 2001 From: TAKEKOSHI Akishige Date: Sat, 31 Dec 2016 15:03:53 +0900 Subject: [PATCH] fix document typo: DB transaction --- user_guide_src/source/database/transactions.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/user_guide_src/source/database/transactions.rst b/user_guide_src/source/database/transactions.rst index dce92565109d..4b8cff884641 100644 --- a/user_guide_src/source/database/transactions.rst +++ b/user_guide_src/source/database/transactions.rst @@ -79,8 +79,8 @@ Enabling Transactions ===================== Transactions are enabled automatically the moment you use -$this->db->trans_start(). If you would like to disable transactions you -can do so using $this->db->trans_off():: +$this->db->transStart(). If you would like to disable transactions you +can do so using $this->db->transOff():: $this->db->transOff(); @@ -97,7 +97,7 @@ Test Mode You can optionally put the transaction system into "test mode", which will cause your queries to be rolled back -- even if the queries produce a valid result. To use test mode simply set the first parameter in the -$this->db->trans_start() function to TRUE:: +$this->db->transStart() function to TRUE:: $this->db->transStart(true); // Query will be rolled back $this->db->query('AN SQL QUERY...');