Revision 2827
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql_gen.py | ||
---|---|---|
190 | 190 |
|
191 | 191 |
def to_str(self, db): |
192 | 192 |
str_ = '' |
193 |
if self.table != None: str_ += self.table.to_str(db)+'.' |
|
193 |
if self.table != None: str_ += self.table.to_Table().to_str(db)+'.'
|
|
194 | 194 |
str_ += db.esc_name(self.name) |
195 | 195 |
return str_ |
196 | 196 |
|
Also available in: Unified diff
sql_gen.py: Col: Support Table objects that are not just names, by calling `.to_Table()` on the table before stringifying it