projects
/
dbsrgits/Data-Query.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
ef8575b
)
SELECT a, b FROM foo
Prog Rammer [Fri, 7 Sep 2012 17:56:23 +0000 (12:56 -0500)]
t/expr-helpers.t
patch
|
blob
|
blame
|
history
diff --git
a/t/expr-helpers.t
b/t/expr-helpers.t
index
5d413b5
..
4629deb
100644
(file)
--- a/
t/expr-helpers.t
+++ b/
t/expr-helpers.t
@@
-97,3
+97,8
@@
dq_sql_is
),
[ 'SELECT * FROM foo WHERE ( x BETWEEN ? AND ? )', map binding($_), 1, 2 ],
'between';
+
+dq_sql_is
+ Select([ map Identifier($_), qw(a b) ], Identifier('foo')),
+ ['SELECT a, b FROM foo'],
+ 'select columns';