Revision 2321
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql.py | ||
---|---|---|
516 | 516 |
query += ' '+select_query |
517 | 517 |
|
518 | 518 |
if returning != None: |
519 |
check_name(returning) |
|
520 |
query += ' RETURNING '+returning |
|
519 |
query += ' RETURNING '+sql_gen.as_Col(returning).to_str(db) |
|
521 | 520 |
|
522 | 521 |
if embeddable: |
523 | 522 |
# Create function |
Also available in: Unified diff
sql.py: mk_insert_select(): Fixed bug where returning col was not being escaped