On Jun 20, 2008, at 5:06 PM, percious wrote:
>
> like this?
>
> from sqlalchemy import MetaData, create_engine
> metadata = MetaData()
> engine = create_engine('postgres://[EMAIL PROTECTED]/Target')
> connect = engine.connect()
> connect.execute("set search_path to 'my_db'")
> metadata.reflect(bind=connect)
>
> (does not work)
that would be it. but search_path shouldnt affect anything SQLA does
regarding reflection. don't you just want to send "schema='my_db'" to
metadata.reflect() ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---