Project

General

Profile

« Previous | Next » 

Revision 2827

sql_gen.py: Col: Support Table objects that are not just names, by calling `.to_Table()` on the table before stringifying it

View differences:

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