Hi,

e2 = sqlalchemy.create_engine('mysql://user:[EMAIL PROTECTED]/dbname')
> metadata2=sqlalchemy.MetaData(e2)


Yep, ok so far


> And then new session2?


Well, usually I would just use a single session - that can span multiple
databases. I would create another table, attached to metadata2. You can do
work on both tables in a single session, and the updates happen to both
databases transparently.

Paul

--~--~---------~--~----~------------~-------~--~----~
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