Re: [sqlalchemy] expressing an inferred relationship

2014-10-29 Thread Jonathan Vanasco
No worries. I wanted to avoid those two patterns. I had played around with them, and wasn't too excited by the SQL and the work I'd probably need to optimize the query plan. Was hoping someone may have figured out a simpler way to achieve the same effect. It made more sense to just do a

[sqlalchemy] expressing an inferred relationship

2014-10-27 Thread Jonathan Vanasco
I've been staring at this a few hours, and can't figure out how to adapt a join/query into a relationship. The archives and docs don't seem to help much. It seems reminiscent to an earlier question by Simon King ( https://groups.google.com/d/topic/sqlalchemy/OtI4Z8v7gRs/discussion ) and some