Update README.md

Hi - I just started using honeysql and wanted to update the docs for a confusing area.
Alan
This commit is contained in:
Alan Thompson 2014-07-24 22:52:08 -07:00
parent 88bc556578
commit 54e77ec4c9

View file

@ -93,7 +93,9 @@ Keywords that begin with `%` are interpreted as SQL function calls:
```clj ```clj
(-> (select :%count.*) (from :foo) sql/format) (-> (select :%count.*) (from :foo) sql/format)
=> ["SELECT COUNT(*) FROM foo"] => ["SELECT count(*) FROM foo"]
(-> (select :%max.id) (from :foo) sql/format)
=> ["SELECT max(id) FROM foo"]
``` ```
Keywords that begin with `?` are interpreted as bindable parameters: Keywords that begin with `?` are interpreted as bindable parameters: