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

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

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Go to Latest
method supabase.SupabaseClient.prototype.from
Re-export
import { supabase } from "https://deno.land/x/blocks@1.72.0/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>