Skip to content

Add Filter Semantic Improvements #13

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

Merged
merged 1 commit into from
Sep 7, 2021

Conversation

chFlorian
Copy link
Contributor

See old PR

Issue

Issue Link

What kind of change does this PR introduce?

This PR introduces semantics updates for PostgrestFilterBuilder

What is the current behavior?

phfts(column: column, query: query, config: config)

Same for many other operators.

What is the new behavior?

phraseToFullTextSearch(column: String, query: String, config: String? = nil)

Additional context

The idea is to improve semantics by providing descriptive function names. These are implemented as an extension to PostgrestFilterBuilder, which allows to keep the existing function names (aka the mirrors of the JS library).

@chFlorian
Copy link
Contributor Author

@GRSouza @satishbabariya I moved the PR into this repo.

@chFlorian
Copy link
Contributor Author

@GRSouza approved the changes, what is left todo to get this merge-ready?

@grdsdev
Copy link
Contributor

grdsdev commented Sep 7, 2021

@satishbabariya would you like to take a look on this or I can merge it?

@satishbabariya
Copy link
Member

@satishbabariya would you like to take a look on this or I can merge it?

@GRSouza, sure no conflicting api's, we can merge it. also we need to start work on https://github.com/supabase/supabase-js/blob/master/src/lib/SupabaseRealtimeClient.ts and RPC stuff that is remain.

@grdsdev grdsdev merged commit 8ff3c1b into supabase-community:master Sep 7, 2021
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.

3 participants