diff options
author | Ovidiu Ungureanu <[email protected]> | 2016-09-22 13:53:22 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2016-09-22 13:53:22 +0100 |
commit | 1a2e87ec2b76a299b9731b47a587dca282dbdae7 (patch) | |
tree | df7db6fd4995266e5b77147bd15beb15342a6cf6 /docs/querying.rst | |
parent | 1db83c9fee8a6418d92fd6fa87447d31faf88842 (diff) |
typo on operator
Diffstat (limited to 'docs/querying.rst')
-rw-r--r-- | docs/querying.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/querying.rst b/docs/querying.rst index bf140a1..be7d559 100644 --- a/docs/querying.rst +++ b/docs/querying.rst @@ -344,7 +344,7 @@ column using a second parameter: ->find_many(); // Creates SQL: - SELECT * FROM `widget` WHERE (( `name` = 'Joe' AND `age` > '10' ) OR ( `name` = 'Fred' AND `age` > '20' )); + SELECT * FROM `widget` WHERE (( `name` = 'Joe' AND `age` = '10' ) OR ( `name` = 'Fred' AND `age` > '20' )); If you want to set the default operator for all the columns, just pass it as the second parameter: |