Doctrine 1

A way to auto detect what connection should be used to run a query based on what table was used in the from