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

Improve QueryFilter/Where/Filter Implementation and Documentation #87

Open
acupofjose opened this issue Feb 15, 2024 · 0 comments
Open
Labels
bug Something isn't working enhancement New feature or request

Comments

@acupofjose
Copy link
Member

acupofjose commented Feb 15, 2024

Several issues have been raised surrounding the use of QueryFilters with Postgrest.

Notably, confusion around the CONTAINS operator vs. the IN operator and issues with QueryFilters not casting criterion in an expected way.

Suggestions:

  • Provide different implementations for IPostgrestQueryFilter for basic queries vs. advanced queries. For instance, the groups of switch operators here should likely be extracted into different classes.
  • Improve documentation for the CONTAINS operator (as most cases seem to be expecting the IN or LIKE operator)
@acupofjose acupofjose added bug Something isn't working enhancement New feature or request labels Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant