|
QGIS API Documentation 3.36.0-Maidenhead (09951dc0acf)
|
A set of expression-related functions. More...
#include <qgsexpressionutils.h>
Static Public Member Functions | |
| static std::tuple< QVariant::Type, int > | determineResultType (const QString &expression, const QgsVectorLayer *layer, QgsFeatureRequest request=QgsFeatureRequest(), QgsExpressionContext context=QgsExpressionContext(), bool *foundFeatures=nullptr) |
| Returns a value type and user type for a given expression. | |
A set of expression-related functions.
Definition at line 51 of file qgsexpressionutils.h.
|
static |
Returns a value type and user type for a given expression.
| expression | An expression string. |
| layer | A vector layer from which the expression will be executed against. |
| request | A feature request object. |
| context | An expression context object. |
| foundFeatures | An optional boolean parameter that will be set when features are found. |
Definition at line 339 of file qgsexpressionutils.cpp.