_mapper_zero() does not return a mapper in all cases
Issue #3608
resolved
select_from_entity is a class or AliasedClass. change the name most likely, as returning an entity as it does now preserves more information.
Comments (2)
-
reporter -
reporter - changed status to resolved
Rename Query._mapper_zero() to Query._entity_zero()
To be more descriptive of the use of _mapper_zero(), rename it to _entity_zero(), but also supply a new _mapper_zero() function that more strictly returns a mapper. The existing _entity_zero() function is renamed to _query_entity_zero. _only_mapper_zero() is removed as it isn't used. Divide up the existing calling functions to refer to the appropriate new method.
Change-Id: I8780c3235e87b4936c6daf64d9d299b22b6e1260 Fixes:
#3608→ <<cset 81bd994c0adf>>
- Log in to comment
and of course _entity_zero() returns _MapperEntity so there's some name conflict here