On Aug 27, 2012, at 10:59 AM, Michael Bayer wrote: > > On Aug 27, 2012, at 4:29 AM, jeetu wrote: > >> >> As for hybrid_property, its really the thing. But it requires an explicit >> join statement in query. And as you rightly pointed out, most probably tw2 >> query do not support joins. > > no, this isn't accurate. a hybrid can emit a correlated subquery just like > any other attribute.
here is an example: http://docs.sqlalchemy.org/en/rel_0_7/orm/extensions/hybrid.html#correlated-subquery-relationship-hybrid -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.