Revision 2071
Added by Aaron Marcuse-Kubitza over 12 years ago
db_xml.py | ||
---|---|---|
161 | 161 |
|
162 | 162 |
# Insert node |
163 | 163 |
sql.insert_select(db, out_table, row.keys(), *sql.mk_select(db, |
164 |
qual_name(in_table), row.values(), table_is_esc=True)) |
|
164 |
qual_name(in_table), row.values(), table_is_esc=True), |
|
165 |
returning=pkey_, embeddable=True, cacheable=False) |
|
165 | 166 |
|
166 | 167 |
import sys; sys.stderr.write(str(node)) |
167 | 168 |
if commit: db.db.commit() |
Also available in: Unified diff
db_xml.py: put_table(): Support returning pkey from INSERT SELECT