Revision 2740
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql_gen.py | ||
---|---|---|
482 | 482 |
return '('+(', '.join((v.to_str(db) for v in row)))+')' |
483 | 483 |
return 'VALUES '+(', '.join(map(row_str, self.rows))) |
484 | 484 |
|
485 |
def NamedValues(name, cols, values): |
|
486 |
return NamedTable(name, Values(values), cols) |
|
487 |
|
|
485 | 488 |
##### Database structure |
486 | 489 |
|
487 | 490 |
class TypedCol(Col): |
Also available in: Unified diff
sql_gen.py: Added NamedValues