rpc

inline suspend fun <T : Any> Postgrest.rpc(function: String, parameters: T, noinline 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