mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 00:19:08 +00:00
docs(functions): say which schemas supabase-js reaches from Edge Functions
This commit is contained in:
1 parent
64433ecf69
commit
2d97f19b07
1 file changed
+4
@@ -43,6 +43,10 @@ This enables:
|
||||
- Consistent error handling
|
||||
- TypeScript support for database schema
|
||||
|
||||
`supabase-js` queries go through the [Data API](/docs/guides/api), which serves only the schemas listed under **Exposed schemas** in your [Data API settings](/dashboard/project/_/integrations/data_api/settings). The `public` schema is exposed by default. To expose other schemas, see [Using custom schemas](/docs/guides/api/using-custom-schemas).
|
||||
|
||||
`supabase-js` can't query system catalogs such as `pg_catalog.pg_tables`. The Data API never serves tables or views in `pg_catalog` or `information_schema`, even if you expose those schemas. To run catalog queries or other raw SQL, connect with a Postgres client, as shown in [Using a Postgres client](#using-a-postgres-client).
|
||||
|
||||
---
|
||||
|
||||
## Using a Postgres client
|
||||
|
||||
Reference in new issue
Block a user