Revision 2745
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql_gen.py | ||
---|---|---|
493 | 493 |
return 'VALUES '+(', '.join(map(row_str, self.rows))) |
494 | 494 |
|
495 | 495 |
def NamedValues(name, cols, values): |
496 |
''' |
|
497 |
@post `cols` will be changed to Col objects with the table set to `name`. |
|
498 |
''' |
|
499 |
set_cols_table(name, cols) |
|
496 | 500 |
return NamedTable(name, Values(values), cols) |
497 | 501 |
|
498 | 502 |
##### Database structure |
Also available in: Unified diff
sql_gen.py: NamedValues: Change cols to Col objects with the table set to `name`