From 76303c2ffeb4ecb43e1716699dd42a6af0b5abf5 Mon Sep 17 00:00:00 2001 From: "Andrii V. Mishkovskyi" Date: Thu, 16 Apr 2015 20:21:21 +0200 Subject: [PATCH] Adding example of what I'm trying to achieve in the README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 758e66d..e9b429b 100644 --- a/README.md +++ b/README.md @@ -249,7 +249,7 @@ Here's a big, complicated query. Note that Honey SQL makes no attempt to verify [:between :f.e 10 20]] :group-by [:f.a] :having [:< 0 :f.e] - :order-by [[:b.baz :desc] :c.quux] + :order-by [[:b.baz :desc] :c.quux [:f.a :nulls-first] :limit 50 :offset 10} @@ -265,7 +265,7 @@ Here's a big, complicated query. Note that Honey SQL makes no attempt to verify OR f.e BETWEEN 10 AND 20) GROUP BY f.a HAVING 0 < f.e - ORDER BY b.baz DESC, c.quux + ORDER BY b.baz DESC, c.quux, f.a NULLS FIRST LIMIT 50 OFFSET 10 " "bort" "gabba" 2]