diff options
author | Master Yoda <jim_parry@bcit.ca> | 2017-07-20 13:58:16 +0200 |
---|---|---|
committer | Master Yoda <jim_parry@bcit.ca> | 2017-07-20 13:58:16 +0200 |
commit | 30f15f9317b5df49ebe880a423a317b045a495eb (patch) | |
tree | 50c2c9027a25734eb0b2ab43127a397ae9762fe4 /user_guide_src/source/database | |
parent | f107a186f0ddd5695c142c3202106bea4cd4b226 (diff) |
Fix some mistakes in the user guide
Diffstat (limited to 'user_guide_src/source/database')
-rw-r--r-- | user_guide_src/source/database/query_builder.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/user_guide_src/source/database/query_builder.rst b/user_guide_src/source/database/query_builder.rst index 2d954c7a8..7c1bd4cc0 100644 --- a/user_guide_src/source/database/query_builder.rst +++ b/user_guide_src/source/database/query_builder.rst @@ -119,7 +119,7 @@ escaping of fields may break them. :: - $this->db->select('(SELECT SUM(payments.amount) FROM payments WHERE payments.invoice_id=4') AS amount_paid', FALSE); + $this->db->select('(SELECT SUM(payments.amount) FROM payments WHERE payments.invoice_id=4) AS amount_paid', FALSE); $query = $this->db->get('mytable'); **$this->db->select_max()** |