Omit columns from `/tables`

Open
#250 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
postgresql, typescript
Domain
api, database

Research direction

Start by tracing the TypeScript entry point that serves /tables and compare its response with /columns. The change is complete when /tables omits columns by default while /columns still provides the complete column metadata; consider whether the proposed include_columns=true alternative is required.

Written by the indexing model from the issue text.

Description

enhancement

Feature request

Is your feature request related to a problem? Please describe.

For simple use cases of fetching list of tables, columns balloons up the response size, esp. when you have hundreds of tables. More complete columns info can instead be retrieved from /columns.

Describe the solution you'd like

Omit columns from /tables.

Describe alternatives you've considered

Use a query param include_columns=true to still include columns in /tables and make it false by default.

Dominant language
TypeScript
Stars
1.2k
Forks
223
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from supabase/postgres-meta

All issues in supabase/postgres-meta

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.