Hi All,

Does anyone have a sample simple quickstarted application that have
multiple database connection? How do you put together the bits and
pieces of information [1,2] regarding multiple database connection.
And how to use them in __init__.py of in the model, once you create a
second MetaData (metadata2)

# If you have multiple databases with overlapping table names, you'll
need a
# metadata for each database. Feel free to rename 'metadata2'.
metadata2 = MetaData()

[1] http://wiki.pylonshq.com/display/pylonsdocs/Using+SQLAlchemy+with+Pylons
[2] http://www.sqlalchemy.org/docs/05/session.html#vertical-partitioning

Regards,
Dax
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to