Skip to content

docs(list_tables): clarify schemas default and [] for all schemas - #396

Open
vjymisal0 wants to merge 1 commit into
supabase:mainfrom
vjymisal0:fix-list-tables-schemas-doc
Open

docs(list_tables): clarify schemas default and [] for all schemas#396
vjymisal0 wants to merge 1 commit into
supabase:mainfrom
vjymisal0:fix-list-tables-schemas-doc

Conversation

@vjymisal0

Copy link
Copy Markdown

Fixes #395

Problem

In listTablesInputSchema, the schemas parameter description stated:

List of schemas to include. Defaults to all schemas.

However, the field is configured with .default(['public']), so omitting schemas actually queries only the public schema. Furthermore, passing an empty array [] is the mechanism that generates a where schema not in (SYSTEM_SCHEMAS) query to include all non-system schemas.

Fix

Updated the parameter description to accurately reflect the default value and how to request all schemas:

List of schemas to include. Defaults to [public]. Pass [] to include all non-system schemas.

@vjymisal0
vjymisal0 requested a review from a team as a code owner August 30, 2026 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

list_tables: schemas says it defaults to all schemas but defaults to ["public"], so the RLS advisory silently reports on a partial database

1 participant