ClauseAdapter needs to work for selects

Issue #569 resolved
Mike Bayer repo owner created an issue

for a pattern such as:

mapper(Class, table, properties={
    "foo":column_property(someothertable.select(criterion, scalar=True))
})

when the mapper is used as the target an eager relation, the subquery needs its correlated table (i.e. "table") to be aliased to the eager version of the table. the aliasing occurs via ClauseAdapter called in strategies.EagerLoader.AliasedClauses.aliased_column.

this ticket is blocked by #52.

Comments (3)

  1. Log in to comment