Archives week 43 of 2011
Oct. 24, 2011 - Oct. 30, 2011
Cross-database relations in SQLAlchemy?
Written by
on
in
Snaking.
Set out to make an app use two different databases today; one for a high-write-volume set, the other for low-volume mostly-read set. It's a TurboGears 2.0 application using SQLAlchemy. I'd half-way hoped for "tell these tables they're in that db" and then have the ORM figure out all the magic of which session to use ...