Skip to content

Commit

Permalink
fix document typo: DB transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
takekoshinet committed Dec 31, 2016
1 parent bf3e165 commit da1065a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions user_guide_src/source/database/transactions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand All @@ -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...');
Expand Down

0 comments on commit da1065a

Please sign in to comment.