Revision 2329
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql.py | ||
---|---|---|
731 | 731 |
* in_table_col: sql_gen.Col Wrap literal values in a sql_gen.NamedCol |
732 | 732 |
@return sql_gen.Col Where the output pkeys are made available |
733 | 733 |
''' |
734 |
out_table = sql_gen.as_Table(out_table) |
|
734 | 735 |
for in_table_col in mapping.itervalues(): |
735 | 736 |
assert isinstance(in_table_col, sql_gen.Col) |
736 | 737 |
|
737 |
temp_prefix = clean_name(out_table)
|
|
738 |
temp_prefix = out_table.name
|
|
738 | 739 |
pkeys_ref = [temp_prefix+'_pkeys'] |
739 | 740 |
|
740 | 741 |
# Join together input tables |
Also available in: Unified diff
sql.py: put_table(): Added support for out_table values that are Table objects