Revision 2736
Added by Aaron Marcuse-Kubitza over 12 years ago
sql_gen.py | ||
---|---|---|
447 | 447 |
if type_ is filter_out: type_ = 'LEFT' |
448 | 448 |
str_ = '' |
449 | 449 |
if type_ != None: str_ += type_+' ' |
450 |
str_ += 'JOIN '+left_table.to_str(db)+' '+join_cond |
|
450 |
str_ += 'JOIN '+left_table.to_str(db) |
|
451 |
if type_ != 'CROSS': str_ += ' '+join_cond |
|
451 | 452 |
return str_ |
452 | 453 |
|
453 | 454 |
def __repr__(self): return self.to_str(mockDb, '<left_table>') |
Also available in: Unified diff
sql_gen.py: Join.to_str(): Don't add join condition for CROSS JOINs