DanCardin / sqlalchemy-declarative-extensions

Library to declare additional kinds of objects not natively supported by SqlAlchemy/Alembic.
https://sqlalchemy-declarative-extensions.readthedocs.io/en/latest/
Apache License 2.0
32 stars 5 forks source link

feat: Use transactional DDL rollback, to perform view comparison for postgres. #23

Closed DanCardin closed 1 year ago

DanCardin commented 1 year ago

I.e. actually create the view (in a transaction) and roll it back to see what the rendered version of the view would be, in order to get an exact comparison between two views.

This can only be safely done in a database that has transaction DDL, like postgres and unlike mysql.

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 4276300803


Totals Coverage Status
Change from base Build 4275908533: 0.03%
Covered Lines: 1571
Relevant Lines: 1625

💛 - Coveralls