Skip to content

Commit

Permalink
Merge pull request #349 from noldor/fix/document-db-transaction
Browse files Browse the repository at this point in the history
fix document typo: DB transaction
  • Loading branch information
jim-parry authored Dec 31, 2016
2 parents be9ac15 + da1065a commit 2b0755c
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 2b0755c

Please sign in to comment.