Revision 2125
Added by Aaron Marcuse-Kubitza about 12 years ago
db_xml.py | ||
---|---|---|
171 | 171 |
|
172 | 172 |
# Insert node |
173 | 173 |
in_tables.append(qual_name(in_table)) |
174 |
pkeys_table = sql.put_table(db, esc_name(out_table), row.keys(),
|
|
175 |
in_tables, row.values(), pkey_, row_ct_ref, table_is_esc=True)
|
|
174 |
pkeys_table = sql.put_table(db, esc_name(out_table), in_tables, row, pkey_,
|
|
175 |
row_ct_ref, table_is_esc=True) |
|
176 | 176 |
|
177 | 177 |
if commit: db.db.commit() |
178 | 178 |
return (pkeys_table, pkey_) |
Also available in: Unified diff
sql.py: put_table(): Take a dict mapping out to in cols instead of separate in and out cols lists