From 54e77ec4c9821f0bf8c55c4e400cd81b042f39a8 Mon Sep 17 00:00:00 2001 From: Alan Thompson Date: Thu, 24 Jul 2014 22:52:08 -0700 Subject: [PATCH] Update README.md Hi - I just started using honeysql and wanted to update the docs for a confusing area. Alan --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9eb5736..ebd697d 100644 --- a/README.md +++ b/README.md @@ -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: