Skip to content
New issue

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

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

Already on GitHub? # to your account

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

Closed
softmarshmallow opened this issue Oct 11, 2024 · 1 comment · Fixed by #3818
Closed

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

softmarshmallow opened this issue Oct 11, 2024 · 1 comment · Fixed by #3818
Assignees
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
@taimoorzaeem taimoorzaeem self-assigned this Dec 13, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
difficulty: beginner Pure Haskell task enhancement a feature, ready for implementation
Development

Successfully merging a pull request may close this issue.

3 participants