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)

An expression node for value IN or NOT IN clauses.

Methods

clone
dump
evalNode
isNotIn Returns true if this node is a “NOT IN” operator, or false if the node is a normal “IN” operator.
isStatic
list Returns the list of nodes to search for matching values within.
needsGeometry
node Returns the expression node.
nodeType
prepareNode
referencedColumns
referencedVariables

Signals

Attributes

clone(self) → QgsExpressionNode
dump(self) → str
evalNode(self, parent: QgsExpression, context: QgsExpressionContext) → Any
isNotIn(self) → bool

Returns true if this node is a “NOT IN” operator, or false if the node is a normal “IN” operator.

isStatic(self, parent: QgsExpression, context: QgsExpressionContext) → bool
list(self) → QgsExpressionNode.NodeList

Returns the list of nodes to search for matching values within.

needsGeometry(self) → bool
node(self) → QgsExpressionNode

Returns the expression node.

nodeType(self) → QgsExpressionNode.NodeType
prepareNode(self, parent: QgsExpression, context: QgsExpressionContext) → bool
referencedColumns(self) → Set[str]
referencedVariables(self) → Set[str]