Hello, I'm using SQLAlchemy 1.0.8 with joinedload inheritance. On one of the Child I have a relationship property and I wondered if there is an easy way to innerjoin=True this relation only in a non-polymorphic context ?
In my case I have the base class "Content", a child "Event", and "Event" has a relationship to "Country". So I when I do Session.query(Event) it should INNER JOIN Country, but with orm.with_polymorphic(Content, [Event]) the Country relationship should be LEFT OUTER JOIN, otherwhise the query returns no result ... I wondered if there was already something in SQLAlchemy do handle this case (other than joinedload(), etc ..) ? Thanks! Julien -- Julien Cigar Belgian Biodiversity Platform (http://www.biodiversity.be) PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. -- 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.
pgpt_Ep3CzTHT.pgp
Description: PGP signature