Update README example to match #142.

This commit is contained in:
Richard Newman 2016-11-06 12:29:37 -08:00 committed by GitHub
parent 160e2821b8
commit 29f3cd1099

View file

@ -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: