one more readme update
This commit is contained in:
parent
fe1561e355
commit
0a45e72794
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ Here's a big, complicated query. (Note that Honey SQL makes no attempt to verify
|
||||||
(offset 10))
|
(offset 10))
|
||||||
|
|
||||||
(sql/format *1)
|
(sql/format *1)
|
||||||
=> ["SELECT DISTINCT f.*, b.baz, c.quux, NOW(), @x := 10 FROM foo AS f, baz AS b LEFT JOIN clod AS c ON (f.a = c.d) JOIN draq ON (f.b = draq.x) WHERE (((f.a = ?) AND (b.baz != ?)) OR (f.e IN (1, 2, 3)) OR f.e BETWEEN 10 AND 20) ORDER BY b.baz DESC, c.quux LIMIT 50 OFFSET 10"
|
=> ["SELECT DISTINCT f.*, b.baz, c.quux, NOW(), @x := 10 FROM foo AS f, baz AS b LEFT JOIN clod AS c ON (f.a = c.d) JOIN draq ON (f.b = draq.x) WHERE (((f.a = ?) AND (b.baz != ?)) OR (f.e IN (1, 2, 3)) OR f.e BETWEEN 10 AND 20) GROUP BY f.a HAVING (0 < f.e) ORDER BY b.baz DESC, c.quux LIMIT 50 OFFSET 10"
|
||||||
["bort" "gabba"]]
|
["bort" "gabba"]]
|
||||||
|
|
||||||
;; Printable and readable
|
;; Printable and readable
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue