Merge pull request #251 from dijonkitchen/patch-1

docs: clarify SQL `AND`
This commit is contained in:
Sean Corfield 2020-02-07 10:32:38 -08:00 committed by GitHub
commit f315eff8dc
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 :*)