Merge pull request #251 from dijonkitchen/patch-1
docs: clarify SQL `AND`
This commit is contained in:
commit
f315eff8dc
1 changed files with 1 additions and 1 deletions
|
|
@ -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 :*)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue