> -----Original Message-----
> From: sqlalchemy@googlegroups.com 
> [mailto:sqlalch...@googlegroups.com] On Behalf Of Paul Rigor (uci)
> Sent: 24 February 2010 00:23
> To: sqlalchemy
> Subject: [sqlalchemy] reflecting schema just on a single table
> 
> Hi,
> 
> Is there anyway to use a metadata object just to obtain the 
> schema of a single table? I have a database of hundreds of 
> tables, and calling MetaData.reflect() retrieves the schema 
> for all of the tables.  This unnecessarily uses up memory and 
> incurs additional time for i/o to complete.
> 
> Thanks,
> Paul  
> 

Yes - see http://www.sqlalchemy.org/docs/metadata.html#reflecting-tables

Hope that helps,

Simon

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalch...@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to