Re: [sqlalchemy] Routing Session and query count problem

2014-10-16 Thread Jeff Oliver
On Wednesday, October 15, 2014 2:55:22 PM UTC-7, Michael Bayer wrote: The system currently locates the bind via the tables present in the selectable, as when you bind to a mapper, the tables that the mapper selects from are extracted and also set up. Issue is added at

[sqlalchemy] Routing Session and query count problem

2014-10-15 Thread Jeff Oliver
I've got a problem with SQLAlchemy 0.9.8 with a Routing Session setup and using the query count method. I started from this post on Mike Bayer's blog: http://techspot.zzzeek.org/2012/01/11/django-style-database-routers-in-sqlalchemy/ I did some tweaks such that I could specify the database