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

Method self_group

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

Source from the content-addressed store, hash-verified

2726 return self.type.comparator_factory(self) # type: ignore
2727
2728 def self_group(
2729 self, against: Optional[OperatorType] = None
2730 ) -> Union[Self, Grouping[Any]]:
2731 if against is operators.in_op:
2732 return Grouping(self)
2733 else:
2734 return self
2735
2736
2737class TString(AbstractTextClause, inspection.Inspectable["TString"]):

Callers

nothing calls this directly

Calls 1

GroupingClass · 0.85

Tested by

no test coverage detected