Join(
Select([ Identifier('*') ], Identifier('foo')),
Identifier('bar'),
- perl_operator('==', Identifier('foo', 'x'), Identifier('bar', 'y'))
+ perl_operator('==', Identifier('foo', 'x'), Identifier('bar', 'y')),
),
['SELECT * FROM foo JOIN bar ON foo.x = bar.y'],
'join on with dots (Join Select)';
Join(
Identifier('foo'),
Identifier('bar'),
- perl_operator('==', Identifier('foo', 'x'), Identifier('bar', 'y'))
+ perl_operator('==', Identifier('foo', 'x'), Identifier('bar', 'y')),
),
),
['SELECT * FROM foo JOIN bar ON foo.x = bar.y'],
['SELECT * FROM foo GROUP BY x'],
'simple group by';
+
+dq_sql_is
+ Select(
+ [ Identifier('*') ],
+ Join(
+ Identifier('foo'),
+ Identifier('bar'),
+ perl_operator('==', Identifier('foo', 'x'), Identifier('bar', 'y')),
+ 'left outer',
+ ),
+ ),
+ ['SELECT * FROM foo LEFT OUTER JOIN bar ON foo.x = bar.y'],
+ 'left outer join';