Runs a SurrealQL function, built-in or custom, and returns its result.
Arguments
| Argument | Description |
|---|---|
fn_name | The function name, for example fn::greet or time::now. |
args | The function arguments, each CBOR-encoded, as a List[List[UInt8]]. |
session | An optional session id. |
txn | An optional transaction id. |