any sqlalchemy ways of retrieving a list of schemas?

On Nov 30, 1:23 pm, Michael Bayer <[EMAIL PROTECTED]> wrote:
> On Nov 29, 2008, at 6:05 PM, [EMAIL PROTECTED] wrote:
>
>
>
> > Thanks Michael
>
> > If its just a warning and its supposed to continue past it, Why
> > doesn't it finish reflecting all the tables in all the schemas instead
> > of a few tables in two schemas.
>
> that would be a different issue.   But I would note that
> metadata.reflect() only reflects one schema at a time, either the
> tables within the default schema, or those within the schema name
> which you specify.
>
> > I think it retrieved all the tables in the first schema which i
> > specified and followed the foreign keys to retrieve the metadata for
> > the second tables.
>
> that's what it would do, yup.
>
> > Any suggestions on how i can reflect a list of schemas or make it
> > reflect all the schemas? it didn't like '%' as the schema name.
>
> you have to retreive the list of desired schemas manually, then call
> reflect() for each one.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to