Registers a custom N1QL function.
Function's name. Case-insensitive.
The function itself. See the type UserFunction for details.
UserFunction
Optional
Other options such as min/max arg counts.
Registers a custom N1QL function.