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
§
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]