docs: clarify SQL AND

This commit is contained in:
JC 2020-02-07 10:31:57 -08:00 committed by GitHub
parent 370ff4f45d
commit 5441cb5488
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,7 +119,7 @@ To add to clauses instead of replacing them, use `merge-select`, `merge-where`,
=> ["SELECT a, b, c, d, e FROM foo WHERE (f.a = ? AND b > ?)" "baz" 10] => ["SELECT a, b, c, d, e FROM foo WHERE (f.a = ? AND b > ?)" "baz" 10]
``` ```
`where` will combine multiple clauses together using and: `where` will combine multiple clauses together using SQL's `AND`:
```clojure ```clojure
(-> (select :*) (-> (select :*)