rpc
abstract suspend fun rpc(function: String, request: RpcRequestBuilder.() -> Unit = {}): PostgrestResult(source)
Executes a database function
Parameters
function
The name of the function
request
Filter the result
Throws
or one of its subclasses if the request failed
abstract suspend fun rpc(function: String, parameters: JsonObject, request: RpcRequestBuilder.() -> Unit = {}): PostgrestResult(source)
Executes a database function
Parameters
function
The name of the function
parameters
The parameters for the function
request
Filter the result
Throws
or one of its subclasses if the request failed