Subgroup: Expression

Class: QgsExpressionNodeInOperator

class qgis.core.QgsExpressionNodeInOperator(node: QgsExpressionNode, list: QgsExpressionNode.NodeList, notin: bool = False)

Bases: qgis._core.QgsExpressionNode

This node tests if the result of node is in the result of list. Optionally it can be inverted with notin which by default is false.

QgsExpressionNodeInOperator(QgsExpressionNodeInOperator)

Methods

clone
dump
eval Evaluate this node with the given context and parent.
evalNode
isNotIn
isStatic
list
needsGeometry
node
nodeType
prepare Prepare this node for evaluation.
prepareNode
referencedColumns
referencedVariables

Attributes

ntBinaryOperator
ntColumnRef
ntCondition
ntFunction
ntInOperator
ntLiteral
ntUnaryOperator
clone(self) → QgsExpressionNode
dump(self) → str
evalNode(self, parent: QgsExpression, context: QgsExpressionContext) → Any
isNotIn(self) → bool
isStatic(self, parent: QgsExpression, context: QgsExpressionContext) → bool
list(self) → QgsExpressionNode.NodeList
needsGeometry(self) → bool
node(self) → QgsExpressionNode
nodeType(self) → QgsExpressionNode.NodeType
prepareNode(self, parent: QgsExpression, context: QgsExpressionContext) → bool
referencedColumns(self) → Set[str]
referencedVariables(self) → Set[str]