Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/codeigniter4/CodeIgniter4
Browse files Browse the repository at this point in the history
…into develop
  • Loading branch information
jim-parry committed Jan 2, 2019
2 parents 29b8525 + 98a49a4 commit d79e5bf
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions user_guide_src/source/database/transactions.rst
Expand Up @@ -75,16 +75,15 @@ debugging is turned off, you can manage your own errors like this::
// generate an error... or use the log_message() function to log your error
}

Enabling Transactions
Disabling Transactions
=====================

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

$this->db->transOff();

$this->db->trans_Start();
$this->db->transStart();
$this->db->query('AN SQL QUERY...');
$this->db->transComplete();

Expand Down

0 comments on commit d79e5bf

Please sign in to comment.