MetaData.reflect() should be able to reflect views, too
Issue #1936
resolved
This thread here died:
http://groups.google.com/group/sqlalchemy/browse_thread/thread/ed5d7f14354e0cf7/f5fc5317f9a9669b
In summary, a three line patch was provided against 0.5.7 which claims to enable this behaviour. Can this be added?
1870c1870 < conn = None
conn = bind.engine.contextual_connect()
1879a1880,1881 available.update(bind.engine.dialect.get_view_names(conn, schema=schema))
Comments (2)
-
repo owner -
repo owner - removed milestone
Removing milestone: 0.6.5 (automated comment)
- Log in to comment
The poster there never created the ticket in question, I suppose since apparently I didn't get to respond to that post. Anyway, that's not a complete patch, so I've taken the time to create a proper patch in 15442ed1f41f1e9b2b1199fa52966c6151ec2592.
Note the patch is against 0.6 not 0.5.7, which the original poster claims is functionality already present (most likely by accident) in 0.5.