Functions can be used in queries, some general guidelines to be followed while using funtions in queries are
- Functions must be of the form:
f(a, b, c)where a, b, c can be either a function, or a field, or a number, or a string.
- Functions can take any number of arguements, function will behave differently based on number of arguments, type of arguments and query context.
You can use functions to perform computations on the data.