summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorCarlo Zancanaro <carlo@clearboxsystems.com.au>2013-11-12 10:29:16 +1100
committerCarlo Zancanaro <carlo@clearboxsystems.com.au>2013-11-12 10:29:16 +1100
commitfa9e624f4ce94207a07d740fd5db05c068ce8b7f (patch)
tree867c443cf218d02d922c15baf9328bd17dc53598 /README.md
parentd4e7fd255ef26ffd24e356b369a6442eadeb6f33 (diff)
Ah, screw it. Have super long lines in the README.
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 2 insertions, 6 deletions
diff --git a/README.md b/README.md
index 60e24aa..004ef70 100644
--- a/README.md
+++ b/README.md
@@ -222,16 +222,12 @@ be the return value of the associated query function call (`deref`,
(-> (q/table :users)
(q/project [:age :name])
(q/group [:age] {'(string_agg :name ",") :names}))
- ;=> ["SELECT \"users1785\".\"age\" AS \"age\", (\"string_agg\"(\"users1785\".\"name\",?)) AS \"names\"
- FROM \"users\" AS \"users1785\"
- GROUP BY \"users1785\".\"age\""
- ","]
+ ;=> ["SELECT \"users1785\".\"age\" AS \"age\", (\"string_agg\"(\"users1785\".\"name\",?)) AS \"names\" FROM \"users\" AS \"users1785\" GROUP BY \"users1785\".\"age\"" ","]
(-> (q/table :users)
(q/project [:age :name])
(q/group [:age] {:name :name}))
- ;=> Exception! Expr is not a function application - could not
- possible be an aggregate
+ ;=> Exception! Expr is not a function application - could not possible be an aggregate
* **Breaking:** Remove `having`, use `select` instead now