Update README example to match #142.
This commit is contained in:
parent
160e2821b8
commit
29f3cd1099
1 changed files with 1 additions and 1 deletions
|
|
@ -179,7 +179,7 @@ Queries may be united within a :union or :union-all keyword:
|
|||
```clj
|
||||
(sql/format {:union [(-> (select :*) (from :foo))
|
||||
(-> (select :*) (from :bar))]})
|
||||
=> ["(SELECT * FROM foo) UNION (SELECT * FROM bar)"]
|
||||
=> ["SELECT * FROM foo UNION SELECT * FROM bar"]
|
||||
```
|
||||
|
||||
Keywords that begin with `%` are interpreted as SQL function calls:
|
||||
|
|
|
|||
Loading…
Reference in a new issue