Class: QgsExpressionNodeColumnRef¶
An expression node which takes its value from a feature’s field.
Class Hierarchy¶
Base classes¶
Abstract base class for all nodes that can appear in an expression. |
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 (Optional[str])
- __init__(a0: QgsExpressionNodeColumnRef)
- Parameters:
- virtual evalNode(self, parent: QgsExpression | None, context: QgsExpressionContext | None) Any [source]¶
- Parameters:
parent (Optional[QgsExpression])
context (Optional[QgsExpressionContext])
- Return type:
Any
- virtual prepareNode(self, parent: QgsExpression | None, context: QgsExpressionContext | None) bool [source]¶
- Parameters:
parent (Optional[QgsExpression])
context (Optional[QgsExpressionContext])
- Return type:
bool