File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -83,10 +83,14 @@ def load_user_expressions(path):
83
83
84
84
The @qgsfunction decorator accepts the following arguments:
85
85
86
- :param args: Defines the number of arguments. With ``args='auto'`` the number
86
+ :param args: Defines the number of arguments. With ``args='auto'`` the number of
87
87
arguments will automatically be extracted from the signature.
88
+ With ``args=-1``, you can pass any number of arguments.
88
89
:param group: The name of the group under which this expression function will
89
90
be listed.
91
+ :param handlesnull: Set this to True if your function has custom handling for NULL values.
92
+ If False, the result will always be NULL as soon as any parameter is NULL.
93
+ Defaults to False.
90
94
:param usesgeometry: Set this to False if your function does not access
91
95
feature.geometry(). Defaults to True.
92
96
:param referenced_columns: An array of attribute names that are required to run
You can’t perform that action at this time.
0 commit comments