projects
/
dbsrgits/Data-Query.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
70a14d9
)
simple group by test
Prog Rammer [Mon, 27 Aug 2012 16:18:37 +0000 (11:18 -0500)]
t/expr-helpers.t
patch
|
blob
|
blame
|
history
diff --git
a/t/expr-helpers.t
b/t/expr-helpers.t
index
79ee600
..
76fc0ba
100644
(file)
--- a/
t/expr-helpers.t
+++ b/
t/expr-helpers.t
@@
-58,3
+58,11
@@
dq_sql_is
['SELECT * FROM foo WHERE x = ?', binding(1)],
'simple select with where and bind';
+dq_sql_is
+ Group (
+ [ Identifier('x') ],
+ Select([ Identifier('*') ], Identifier('foo')),
+ ),
+ ['SELECT * FROM foo GROUP BY x'],
+ 'simple group by';
+