Re: Create materialized view with reflected metadata

2014-10-02 Thread Michael Bayer
On Oct 2, 2014, at 11:41 AM, Stefan Urbanek wrote: > Thanks, but that is for SQLAlchemy and we are already using constructions > like that. That is not a problem at all. Problem is in Alembic migration - > how to correctly get a reflected Table object from the database just being > migrated?

Re: Create materialized view with reflected metadata

2014-10-02 Thread Stefan Urbanek
Thanks, but that is for SQLAlchemy and we are already using constructions like that. That is not a problem at all. Problem is in Alembic migration – how to correctly get a reflected Table object from the database just being migrated? Something like: table = Table("some_table", md) where md is