diff options
author | Andrey Andreev <narf@devilix.net> | 2017-07-21 10:51:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-21 10:51:37 +0200 |
commit | b7ae9d4cd171e1674022c95100798cc7ada7572a (patch) | |
tree | 6fe5c2bc7f1dfb6390afd4283a3ddd57233acffe /user_guide_src/source/database | |
parent | 4aaa9072fc40c9c10bb1501a86505666939deb7d (diff) | |
parent | 3b490ef66741ff6e822ac641df52f44c17936d97 (diff) |
[ci skip] Merge pull request #5191 from jim-parry/patch/docs
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()** |