Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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
Re-export
import { supabase } from "https://deno.land/x/live@1.60.17/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"]>