[QGIS-Developer] NULL in field
Andrea Giudiceandrea
andreaerdna at libero.it
Tue Mar 30 04:49:31 PDT 2021
Giulio Fattori wrote
> @qgsfunction(args='auto', group='Custom')
Hi Giulio,
AFAIK you should add handlesnull=True to the function decorator in order to
properly handle parameter's NULL values in the function
@qgsfunction(args='auto', group='Custom', handlesnull=True)
See: https://qgis.org/pyqgis/master/core/qgsfunction.html#module-qgsfunction
Best regards.
Andrea
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
More information about the QGIS-Developer
mailing list