File tree Expand file tree Collapse file tree
user_guide_src/source/database Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,13 +36,13 @@ Running Transactions
3636====================
3737
3838To run your queries using transactions you will use the
39- ``$this->db->transStart() `` and ``$this->db->transComplete() `` functions as
39+ ``$this->db->transStart() `` and ``$this->db->transComplete() `` methods as
4040follows:
4141
4242.. literalinclude :: transactions/001.php
4343
44- You can run as many queries as you want between the start/complete
45- functions and they will all be committed or rolled back based on the success
44+ You can run as many queries as you want between the `` transStart() ``/`` transComplete() ``
45+ methods and they will all be committed or rolled back based on the success
4646or failure of any given query.
4747
4848Strict Mode
@@ -84,7 +84,7 @@ Test Mode
8484You can optionally put the transaction system into "test mode", which
8585will cause your queries to be rolled back -- even if the queries produce
8686a valid result. To use test mode simply set the first parameter in the
87- ``$this->db->transStart() `` function to true:
87+ ``$this->db->transStart() `` method to true:
8888
8989.. literalinclude :: transactions/005.php
9090
You can’t perform that action at this time.
0 commit comments