Revision 2828
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql_gen.py | ||
---|---|---|
183 | 183 |
|
184 | 184 |
if util.is_str(table): table = Table(table) |
185 | 185 |
assert table == None or isinstance(table, Table) |
186 |
if table != None: table = table.to_Table() |
|
187 | 186 |
|
188 | 187 |
self.name = name |
189 | 188 |
self.table = table |
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