MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _construct_raw

Method _construct_raw

lib/sqlalchemy/sql/elements.py:3436–3447  ·  view source on GitHub ↗
(
        cls,
        operator: OperatorType,
        clauses: Optional[Sequence[ColumnElement[Any]]] = None,
    )

Source from the content-addressed store, hash-verified

3434
3435 @classmethod
3436 def _construct_raw(
3437 cls,
3438 operator: OperatorType,
3439 clauses: Optional[Sequence[ColumnElement[Any]]] = None,
3440 ) -> BooleanClauseList:
3441 self = cls.__new__(cls)
3442 self.clauses = tuple(clauses) if clauses else ()
3443 self.group = True
3444 self.operator = operator
3445 self.type = type_api.BOOLEANTYPE
3446 self._is_implicitly_boolean = True
3447 return self
3448
3449 @classmethod
3450 def and_(

Callers

nothing calls this directly

Calls 1

__new__Method · 0.45

Tested by

no test coverage detected