Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deco/deps.ts>supabase.SupabaseClient#from

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.from
Re-export
import { supabase } from "https://deno.land/x/deco@1.35.3/deps.ts";
const { SupabaseClient } = supabase;

Perform a table operation.

Type Parameters

TableName extends string & keyof Schema["Tables"]
Table extends Schema["Tables"][TableName]

Parameters

relation: TableName

The table name to operate on.

Returns

PostgrestQueryBuilder<Schema, Table>

Type Parameters

ViewName extends string & keyof Schema["Views"]
View extends Schema["Views"][ViewName]

Returns

PostgrestQueryBuilder<Schema, View>

Parameters

relation: string

Returns

PostgrestQueryBuilder<Schema, any>