summaryrefslogtreecommitdiff
path: root/docs/querying.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/querying.rst')
-rw-r--r--docs/querying.rst2
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: