MCPcopy Create free account
hub / github.com/zzzeek/sqlalchemy / _mapper_zero

Method _mapper_zero

lib/sqlalchemy/orm/context.py:1599–1601  ·  view source on GitHub ↗

return the Mapper associated with the first QueryEntity.

(self)

Source from the content-addressed store, hash-verified

1597 return None
1598
1599 def _mapper_zero(self):
1600 """return the Mapper associated with the first QueryEntity."""
1601 return self._entities[0].mapper
1602
1603 def _entity_zero(self):
1604 """Return the 'entity' (mapper or AliasedClass) associated

Calls

no outgoing calls