MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / setup

Method setup

lib/sqlalchemy/orm/interfaces.py:573–587  ·  view source on GitHub ↗

Called by Query for the purposes of constructing a SQL statement. Each MapperProperty associated with the target mapper processes the statement referenced by the query context, adding columns and/or criterion as appropriate.

(
        self,
        context: _ORMCompileState,
        query_entity: _MapperEntity,
        path: _AbstractEntityRegistry,
        adapter: Optional[ORMAdapter],
        **kwargs: Any,
    )

Source from the content-addressed store, hash-verified

571 return {}
572
573 def setup(
574 self,
575 context: _ORMCompileState,
576 query_entity: _MapperEntity,
577 path: _AbstractEntityRegistry,
578 adapter: Optional[ORMAdapter],
579 **kwargs: Any,
580 ) -> None:
581 """Called by Query for the purposes of constructing a SQL statement.
582
583 Each MapperProperty associated with the target mapper processes the
584 statement referenced by the query context, adding columns and/or
585 criterion as appropriate.
586
587 """
588
589 def create_row_processor(
590 self,

Callers 1

_setup_entity_queryFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected