Runs a SurrealQL function.
Arguments
| Argument | Description |
|---|---|
function
| Specifies the path of the function. |
Example usage
Calling an existing SurrealQL function:
User-defined functions can be called as well.
The return value of the .run() function can be deserialized in the same way as any other database function.