MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _negate

Method _negate

lib/sqlalchemy/sql/elements.py:3288–3291  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3286 return self
3287
3288 def _negate(self) -> Any:
3289 grouped = self.self_group(against=operators.inv)
3290 assert isinstance(grouped, ColumnElement)
3291 return UnaryExpression(grouped, operator=operators.inv)
3292
3293
3294class BooleanClauseList(ExpressionClauseList[bool]):

Callers

nothing calls this directly

Calls 2

UnaryExpressionClass · 0.85
self_groupMethod · 0.45

Tested by

no test coverage detected