),
['SELECT COUNT( * ) FROM foo'],
'count';
+
+dq_sql_is
+ Where(
+ Operator({ 'SQL.Naive' => 'BETWEEN' }, [
+ Identifier('x'),
+ map Literal('SQL', '?', [ binding($_) ]), (1,2),
+ ]),
+ Select([ Identifier('*') ], Identifier('foo')),
+ ),
+ [ 'SELECT * FROM foo WHERE ( x BETWEEN ? AND ? )', map binding($_), 1, 2, ],
+ 'between';