MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / self_group

Method self_group

lib/sqlalchemy/sql/elements.py:3493–3499  ·  view source on GitHub ↗
(
        self, against: Optional[OperatorType] = None
    )

Source from the content-addressed store, hash-verified

3491 return (self,)
3492
3493 def self_group(
3494 self, against: Optional[OperatorType] = None
3495 ) -> Union[Self, Grouping[bool]]:
3496 if not self.clauses:
3497 return self
3498 else:
3499 return super().self_group(against=against)
3500
3501
3502and_ = BooleanClauseList.and_

Callers

nothing calls this directly

Calls 1

self_groupMethod · 0.45

Tested by

no test coverage detected