Hi,

I would like to make the information schema
more directly accessible. It appears that
currently this is only used for the
'reflecttable' method to introspect table
definitions.

Based on my current understanding of
sqlalchemy I think it would be reasonable
for SQLEngine instances to have an
'ischema' attribute that allows one
to access these tables in the following
way:

engine = create_engine('...')
c = engine.ischema.columns
c.select(c.c.table_name=='foo')

I'm wondering if there's general interest
in such functionality, and whether there
are better APIs for presenting the info
to the user.

Thanks,
d



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Sqlalchemy-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to