MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _no_criterion_condition

Method _no_criterion_condition

lib/sqlalchemy/orm/query.py:420–431  ·  view source on GitHub ↗
(
        self, meth: str, order_by: bool = True, distinct: bool = True
    )

Source from the content-addressed store, hash-verified

418 )
419
420 def _no_criterion_condition(
421 self, meth: str, order_by: bool = True, distinct: bool = True
422 ) -> None:
423 self._no_criterion_assertion(meth, order_by, distinct)
424
425 self._from_obj = self._setup_joins = ()
426 if self._statement is not None:
427 self._compile_options += {"_statement": None}
428 self._where_criteria = ()
429 self._distinct = False
430
431 self._order_by_clauses = self._group_by_clauses = ()
432
433 def _no_clauseelement_condition(self, meth: str) -> None:
434 if not self._enable_assertions:

Callers 2

_get_conditionMethod · 0.95

Calls 1

Tested by

no test coverage detected