Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GetGenericDatabaseWithOptions

type GetGenericDatabaseWithOptions<Database, Opts extends ClientServerOptions = {
PostgrestVersion: "12";
}
>
= IsAny<Database> extends true ? DatabaseWithOptions<Database, Opts> : INTERNAL_SUPABASE_OPTIONS extends keyof Database ? Database[INTERNAL_SUPABASE_OPTIONS] extends ClientServerOptions ? DatabaseWithOptions<Omit<Database, INTERNAL_SUPABASE_OPTIONS>, Database[INTERNAL_SUPABASE_OPTIONS]> : DatabaseWithOptions<Omit<Database, INTERNAL_SUPABASE_OPTIONS>, Opts> : DatabaseWithOptions<Database, Opts>;

§Type Parameters

§
Database
[src]
§
Opts extends ClientServerOptions = {
PostgrestVersion: "12";
}
[src]

§Type

§
IsAny<Database> extends true ? DatabaseWithOptions<Database, Opts> : INTERNAL_SUPABASE_OPTIONS extends keyof Database ? Database[INTERNAL_SUPABASE_OPTIONS] extends ClientServerOptions ? DatabaseWithOptions<Omit<Database, INTERNAL_SUPABASE_OPTIONS>, Database[INTERNAL_SUPABASE_OPTIONS]> : DatabaseWithOptions<Omit<Database, INTERNAL_SUPABASE_OPTIONS>, Opts> : DatabaseWithOptions<Database, Opts>
[src]