diff options
author | Andrey Andreev <narf@devilix.net> | 2017-07-21 10:51:37 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2017-07-21 10:53:08 +0200 |
commit | 954c4aac3211c5e04270c76b9f7ac11466638bef (patch) | |
tree | 8f0466356d763e697ee8185598449bfc5a90d0b3 /user_guide_src/source/database | |
parent | 6cab78970f212a30ea923835510ffd1fb77a6ad0 (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 3135f76da..1b79c893a 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()** |