MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / self_group

Method self_group

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

Source from the content-addressed store, hash-verified

3208 return (self,)
3209
3210 def self_group(
3211 self, against: Optional[OperatorType] = None
3212 ) -> Union[Self, Grouping[bool]]:
3213 if not self.clauses:
3214 return self
3215 else:
3216 return super().self_group(against=against)
3217
3218
3219and_ = BooleanClauseList.and_

Callers

nothing calls this directly

Calls 1

self_groupMethod · 0.45

Tested by

no test coverage detected