Class: QgsExpressionNodeColumnRef

class qgis.core.QgsExpressionNodeColumnRef(name: str)

Bases: 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.

Parameters

name

clone(self)QgsExpressionNode
Return type

QgsExpressionNode

dump(self) → str
Return type

str

evalNode(self, parent: QgsExpression, context: QgsExpressionContext) → Any
Parameters
Return type

Any

isStatic(self, parent: QgsExpression, context: QgsExpressionContext) → bool
Parameters
Return type

bool

name(self) → str

The name of the column.

Return type

str

needsGeometry(self) → bool
Return type

bool

nodeType(self)QgsExpressionNode.NodeType
Return type

QgsExpressionNode.NodeType

prepareNode(self, parent: QgsExpression, context: QgsExpressionContext) → bool
Parameters
Return type

bool

referencedColumns(self) → Set[str]
Return type

Set[str]

referencedFunctions(self) → Set[str]
Return type

Set[str]

referencedVariables(self) → Set[str]
Return type

Set[str]