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

Method self_group

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

Source from the content-addressed store, hash-verified

2376 return self.type.comparator_factory(self) # type: ignore
2377
2378 def self_group(
2379 self, against: Optional[OperatorType] = None
2380 ) -> Union[Self, Grouping[Any]]:
2381 if against is operators.in_op:
2382 return Grouping(self)
2383 else:
2384 return self
2385
2386 def bindparams(
2387 self,

Callers

nothing calls this directly

Calls 1

GroupingClass · 0.85

Tested by

no test coverage detected