Skip to content

Improve PostgrestFilterBuilder Semantics for work in Swift #14

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

Closed
chFlorian opened this issue Sep 6, 2021 · 0 comments
Closed

Improve PostgrestFilterBuilder Semantics for work in Swift #14

chFlorian opened this issue Sep 6, 2021 · 0 comments

Comments

@chFlorian
Copy link
Contributor

Feature request

Right now the PostgrestFilterBuilder mirrors the Javascript API design. This might work great there, but it's not the kind of descriptive semantics that Swift users are used to.

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

Without knowing any context it is impossible to understand (and even then hard to read) what this expression does.

Describe the solution you'd like

More descriptive function names would be great.

phrasetoFullTextSearch(column: String, query: String, config: String? = nil)
@satishbabariya satishbabariya transferred this issue from supabase/supabase-swift Sep 6, 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

No branches or pull requests

1 participant