On Fri Jan 30 2015 at 4:42:42 PM Jonathan Vanasco <jonat...@findmeon.com> wrote:
> > This should generate your second query: > > > q = s.query(Foo)\ > .join( > Boo, > Foo.id == Boo.id > )\ > .join( > Bar, > Boo.id == Bar.id > )\ > .first() > > But I already have relationships set up so I'd like to not have to manually write out these joins, but also have the relevant columns loaded into my relationship: q = s.query(Foo).options(joinedload(Foo.boo)) -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To post to this group, send email to sqlalchemy@googlegroups.com. Visit this group at http://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.