Example #6 0 Show file File: test_bulk.py Project: BY-jk/sqlalchemy def test_bulk_insert_render_nulls(self): Order, = self.classes("Order") s = Session() with self.sql_execution_asserter() as asserter: s.bulk_insert_mappings( Order, [ {"id": ...
The problem is that today, from stepping through the code in SQLAlchemy, I can see that while it does explicitly recognise a ClauseElement as a value, and does all this work of gathering values and so forth (in _bulk_insert / _collect_insert_commands), it then just completely forgets to...