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.

Methods

clone

rtype

QgsExpressionNode

dump

rtype

str

evalNode

param parent

isStatic

param parent

name

The name of the column.

needsGeometry

rtype

bool

nodeType

rtype

QgsExpressionNode.NodeType

prepareNode

param parent

referencedColumns

rtype

Set[str]

referencedFunctions

rtype

Set[str]

referencedVariables

rtype

Set[str]

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]