1
Add support for listing the available tables
Source: supabase/supabase#33960 · opened by @Rednas83
Something like
const { data } = await supabase.from() // Returns ["projects", etc]
Or pehaps via the CLI
supabase gen keys // Add an additional key something like tables to list all the tables
Considered workaround (Suggested by @GaryAustin1 )
SELECT table_name FROM information_schema.tables WHERE table_schema = 'public'; returns all the table names in the public schema.
const { data } = await supabase.from() // Returns ["projects", etc]
Or pehaps via the CLI
supabase gen keys // Add an additional key something like tables to list all the tables
Considered workaround (Suggested by @GaryAustin1 )
SELECT table_name FROM information_schema.tables WHERE table_schema = 'public'; returns all the table names in the public schema.
No pledges yet. Be the first to back this.
Comments
Similar requests
Table Editor Schema View - Collapse Partitioned Tables
2 votes · 0 comments
pgx-managed Postgres w/ wrappers behaved differently from locally-installed Postgres w/ wrappers
2 votes · 0 comments
Add schema-aware Functions, Args, and Returns helper types to generated Supabase TypeScript types
1 vote · 0 comments
Native Google Sheets Integration with Supabase (Two-Way Sync)
1 vote · 0 comments
Multiple foreign tables in a single "or" statement
14 votes · 0 comments
No comments yet.