pauldex / sqlalchemy-firebird

A Firebird dialect for SQLAlchemy using the firebird-driver and/or fdb python Firebird driver
MIT License
23 stars 15 forks source link

Fix ON COMMIT support for temp tables #9

Closed gordthompson closed 4 years ago

gordthompson commented 4 years ago

Previous changes enabled CREATE GLOBAL TEMPORARY TABLE but silently ignored the on_commit argument. This PR allows SQLAlchemy to properly add ON COMMIT PRESERVE ROWS to the end of the rendered SQL statement.