Skip to content
This repository was archived by the owner on Jan 23, 2026. It is now read-only.

Expose query builder options to .from method#648

Closed
stenlan wants to merge 2 commits into
supabase:masterfrom
stenlan:feat/expose-query-builder-options
Closed

Expose query builder options to .from method#648
stenlan wants to merge 2 commits into
supabase:masterfrom
stenlan:feat/expose-query-builder-options

Conversation

@stenlan
Copy link
Copy Markdown

@stenlan stenlan commented Sep 30, 2025

What kind of change does this PR introduce?

Introduces a way to pass options to the PostgrestQueryBuilder instance on a per-request basis.

What is the current behavior?

There is no way to specify per-request options currently.
supabase/supabase-js#438

What is the new behavior?

An optional parameter is introduced that can be passed to the .from method, where users can optionally specify custom fetch and headers options.

@stenlan stenlan changed the title Feat/expose query builder options Expose query builder options to .from method Sep 30, 2025
@mandarini
Copy link
Copy Markdown
Contributor

Thank you very much for your time and contribution @stenlan ! I would really appreciate if you could move these changes in the new repo: https://github.com/supabase/supabase-js

Closing this PR now, as per comment here: supabase/supabase-js#1570 (comment)

@mandarini mandarini closed this Oct 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants