Corrected README example

This commit is contained in:
Andrii V. Mishkovskyi 2015-04-17 12:09:50 +02:00
parent 11d4ff37ec
commit 04f0447c92

View file

@ -232,7 +232,7 @@ Here's a big, complicated query. Note that Honey SQL makes no attempt to verify
[:between :f.e 10 20]]) [:between :f.e 10 20]])
(group :f.a) (group :f.a)
(having [:< 0 :f.e]) (having [:< 0 :f.e])
(order-by [:b.baz :desc] :c.quux) (order-by [:b.baz :desc] :c.quux [:f.a :nulls-first])
(limit 50) (limit 50)
(offset 10)) (offset 10))
=> {:select [:f.* :b.baz :c.quux [:b.bla "bla-bla"] => {:select [:f.* :b.baz :c.quux [:b.bla "bla-bla"]