schema method

PostgrestClient schema(
  1. String schema
)

Select a schema to query or perform an function (rpc) call.

The schema needs to be on the list of exposed schemas inside Supabase.

Implementation

PostgrestClient schema(String schema) {
  return PostgrestClient(
    url,
    headers: {...headers},
    schema: schema,
    httpClient: httpClient,
    isolate: _isolate,
  );
}