Module

x/live/deps.ts>supabase.SupabaseClient#rpc

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
method supabase.SupabaseClient.prototype.rpc
import { supabase } from "https://dotland.deno.dev/x/live@1.63.12/deps.ts";
const { SupabaseClient } = supabase;

Perform a function call.

Type Parameters

FunctionName extends string & keyof Schema["Functions"]
Function_ extends Schema["Functions"][FunctionName]

Parameters

The function name to call.

optional
args: Function_["Args"]

The parameters to pass to the function call.

optional
options: { head?: boolean; count?: "exact" | "planned" | "estimated"; }

When set to true, no data will be returned.

Returns

PostgrestFilterBuilder<Schema, Function_["Returns"] extends any[] ? Function_["Returns"][number] extends Record<string, unknown> ? Function_["Returns"][number] : never : never, Function_["Returns"]>