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:
parent
88bc556578
commit
54e77ec4c9
1 changed files with 3 additions and 1 deletions
|
|
@ -93,7 +93,9 @@ Keywords that begin with `%` are interpreted as SQL function calls:
|
|||
|
||||
```clj
|
||||
(-> (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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue