Subgroup: Expression

Class: QgsExpressionNodeColumnRef

class qgis.core.QgsExpressionNodeColumnRef(name: str)

Bases: qgis._core.QgsExpressionNode

Constructor for QgsExpressionNodeColumnRef, referencing the column with the specified name.

QgsExpressionNodeColumnRef(QgsExpressionNodeColumnRef)

An expression node which takes it value from a feature’s field.

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

The name of the column.

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