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

Does postgrest not support "not null" as valud is value? #3747

Open
softmarshmallow opened this issue Oct 11, 2024 · 1 comment
Open

Does postgrest not support "not null" as valud is value? #3747

softmarshmallow opened this issue Oct 11, 2024 · 1 comment
Labels
difficulty: beginner Pure Haskell task enhancement a feature, ready for implementation

Comments

@softmarshmallow
Copy link

softmarshmallow commented Oct 11, 2024

failed to parse filter (is.not null)

Forcing negate on quering not null value seems like a mistake, not is null and is not null are identical, but as I am building a dynamic query builder, having to transform (negating) the operator by its value is quite not straight forward.

This might seem like a nich-cased suggestion, but
supporting value not+null or not_null seems like a generally good idea (also for others)

: )

E.g.

image
@steve-chavez
Copy link
Member

supporting value not+null or not_null seems like a generally good idea

Not opposed, it seems convenient for dynamic filters as you mention but it would be low priority for us. A PR would be welcomed too.

@steve-chavez steve-chavez added enhancement a feature, ready for implementation difficulty: beginner Pure Haskell task labels Oct 14, 2024
@PostgREST PostgREST deleted a comment Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty: beginner Pure Haskell task enhancement a feature, ready for implementation
Development

No branches or pull requests

2 participants