Class: QgsExpressionNodeColumnRef

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

Class Hierarchy

Inheritance diagram of qgis.core.QgsExpressionNodeColumnRef

Base classes

QgsExpressionNode

Abstract base class for all nodes that can appear in an expression.

class qgis.core.QgsExpressionNodeColumnRef[source]

Bases: QgsExpressionNode

__init__(name: str | None)

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

Parameters:

name (Optional[str])

__init__(a0: QgsExpressionNodeColumnRef)
Parameters:

a0 (QgsExpressionNodeColumnRef)

virtual evalNode(self, parent: QgsExpression | None, context: QgsExpressionContext | None) Any[source]
Parameters:
Return type:

Any

name(self) str[source]

The name of the column.

Return type:

str

virtual prepareNode(self, parent: QgsExpression | None, context: QgsExpressionContext | None) bool[source]
Parameters:
Return type:

bool