Revision 2834
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql_gen.py | ||
---|---|---|
534 | 534 |
''' |
535 | 535 |
@post `cols` will be changed to Col objects with the table set to `name`. |
536 | 536 |
''' |
537 |
set_cols_table(name, cols) |
|
538 |
return NamedTable(name, Values(values), cols) |
|
537 |
table = NamedTable(name, Values(values), cols) |
|
538 |
set_cols_table(table, cols) |
|
539 |
return table |
|
539 | 540 |
|
540 | 541 |
##### Database structure |
541 | 542 |
|
Also available in: Unified diff
sql_gen.py: NamedValues: Call set_cols_table() with the created table, not just the name, so that is_underlying_table() works properly