Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

deco is the edge-native site editor and app framework for building dynamic, high-performance sites with a built-in visual admin UI.
Go to Latest
method supabase.SupabaseClient.prototype.rpc
Re-export
import { supabase } from "https://deno.land/x/live@1.25.4/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"]>