Skip to content

Commit 98a49a4

Browse files
authored
Merge pull request #1645 from puschie286/transaction-docu-fix
Fix transaction enabling confusing (docu)
2 parents 0fba13c + 3564dc9 commit 98a49a4

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

user_guide_src/source/database/transactions.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,16 +75,15 @@ debugging is turned off, you can manage your own errors like this::
7575
// generate an error... or use the log_message() function to log your error
7676
}
7777

78-
Enabling Transactions
78+
Disabling Transactions
7979
=====================
8080

81-
Transactions are enabled automatically the moment you use
82-
$this->db->transStart(). If you would like to disable transactions you
81+
Transactions are enabled by default. If you would like to disable transactions you
8382
can do so using $this->db->transOff()::
8483

8584
$this->db->transOff();
8685

87-
$this->db->trans_Start();
86+
$this->db->transStart();
8887
$this->db->query('AN SQL QUERY...');
8988
$this->db->transComplete();
9089

0 commit comments

Comments
 (0)