Revision 2370
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql_gen.py | ||
---|---|---|
127 | 127 |
''' |
128 | 128 |
raise NotImplemented() |
129 | 129 |
|
130 |
def __str__(self): return self.to_str(mockDb, '') |
|
130 |
def __str__(self): return self.to_str(mockDb, '<left_value>')
|
|
131 | 131 |
|
132 | 132 |
class CompareCond(ValueCond): |
133 | 133 |
def __init__(self, value, operator='='): |
... | ... | |
238 | 238 |
str_ += 'JOIN '+left_table.to_str(db)+' '+join_cond |
239 | 239 |
return str_ |
240 | 240 |
|
241 |
def __str__(self): return self.to_str(mockDb, '') |
|
241 |
def __str__(self): return self.to_str(mockDb, '<left_table>') |
Also available in: Unified diff
sql_gen.py: Non-Code objects: str() passes informative placeholder string to self.to_str() instead of empty string