Class: QgsExpressionNodeColumnRef¶
An expression node which takes its value from a feature’s field.
List of all members, including inherited members
Class Hierarchy¶
Base classes¶
Abstract base class for all nodes that can appear in an expression. |
Constructor
Abstract Methods
Methods
The name of the column. |
Virtual Methods
In PyQGIS, only methods marked as virtual can be safely overridden in a Python subclass of QgsExpressionNodeColumnRef. See the FAQ for more details.
- class qgis.core.QgsExpressionNodeColumnRef[source]¶
Bases:
QgsExpressionNode- __init__(name: str | None)¶
Constructor for QgsExpressionNodeColumnRef, referencing the column with the specified
name.- Parameters:
name (str|None)
- __init__(a0: QgsExpressionNodeColumnRef)
- Parameters:
- abstract clone(self) QgsExpressionNode | None[source]¶
- Return type:
QgsExpressionNode|None
- virtual evalNode(self, parent: QgsExpression | None, context: QgsExpressionContext | None) Any[source]¶
- Parameters:
parent (QgsExpression|None)
context (QgsExpressionContext|None)
- Return type:
- virtual prepareNode(self, parent: QgsExpression | None, context: QgsExpressionContext | None) bool[source]¶
- Parameters:
parent (QgsExpression|None)
context (QgsExpressionContext|None)
- Return type:
bool