Closed mcfunley closed 5 years ago
This is necessary for multi-inserts:
https://www.hugsql.org/#param-tuple-list
Hopefully there's a way to do this without ditching sqlalchemy's interpolation.
This didn't turn out to be necessary for multi-row inserts. Instead I made this work:
queries.create_foo([ { 'id': 2, 'val': 'x' }, { 'id': 3, 'val': 'y' }, { 'id': 4, 'val': 'z' }, ])
This is necessary for multi-inserts:
https://www.hugsql.org/#param-tuple-list
Hopefully there's a way to do this without ditching sqlalchemy's interpolation.