Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add filter to RPC call #150

Merged
merged 2 commits into from
Nov 5, 2023
Merged

feat: add filter to RPC call #150

merged 2 commits into from
Nov 5, 2023

Conversation

grdsdev
Copy link
Collaborator

@grdsdev grdsdev commented Nov 5, 2023

What kind of change does this PR introduce?

Feature, close #149
Documentation update: supabase/supabase@1e7fe57

What is the current behavior?

Can't call a filter such as eq after rpc.

What is the new behavior?

Make rpc method returns a PostgrestFilterBuilder, so all filters can be appended to the call.

@grdsdev grdsdev enabled auto-merge (squash) November 5, 2023 11:27
@grdsdev grdsdev merged commit 8463fad into main Nov 5, 2023
1 check passed
@grdsdev grdsdev deleted the feat/add-filter-to-rpc-call branch November 5, 2023 11:37
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.

[PostgREST] Add support for calling rpc functions with filters
1 participant