On 1 February 2018 at 05:45, Chris Crook wrote:
> I am updating some plugins which use QgsExpression, and I'm wondering about
> the best way to use expressions in QGIS3. It in the past I used a pattern
> like:
>
> exp=QgsExpression(expressionText)
> exp.prepare(fields)
Chris Crook wrote
> I am updating some plugins which use QgsExpression, and I'm wondering
> about the best way to use expressions in QGIS3. It in the past I used a
> pattern like:
>
> exp=QgsExpression(expressionText)
> exp.prepare(fields)
> request=QgsFeatureRequest()
>
I am updating some plugins which use QgsExpression, and I'm wondering about the
best way to use expressions in QGIS3. It in the past I used a pattern like:
exp=QgsExpression(expressionText)
exp.prepare(fields)
request=QgsFeatureRequest()
request.setSubsetOfAttributes(