Skip to content

Commit d79e5bf

Browse files
committed
Merge branch 'develop' of https://github.com/codeigniter4/CodeIgniter4 into develop
2 parents 29b8525 + 98a49a4 commit d79e5bf

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)