Hi all,
Is there a way in sqlalchemy to query for a list of tables in a db that is
portable among the different backends? I don't thhink so and one may argue
is not something that should be provided by SA, but would be very
handy...
Querying information_schema is the only "portable" way to do this. Off the top of my head I can't think of a db that doesn't at least support getting a list of tables these days (" SELECT table_name FROM information_schema.tables"). You can of course use standard SA techniques to avoid writing SQL.
--
Jonathan Ellis
http://spyced.blogspot.com
_______________________________________________ Sqlalchemy-users mailing list Sqlalchemy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users