Postgrest: Complex boolean logic doesn't accept 3 clauses

Created on 8 Jun 2017  路  3Comments  路  Source: PostgREST/postgrest

Can't do or=(cond1, cond2, and(cond3, cond4)). It must be two clauses at a timeor=(cond1, or(cond2, and(cond3, cond4))). Is this is a purposeful limitation?

enhancement

Most helpful comment

Yep, I'll apply your docs pr to 4.3 when that version is released and available on docs.

All 3 comments

Purpose of that was mostly keeping the and/or feature simple since it changed a lot of code, I realize now that it can be cumbersome to do that kind of expressions, I'll see if I can improve the expressiveness of the interface; @begriffs maybe you can label this as enhancement and I'll work on it when I have the time.

@begriffs It would be better to release v0.4.3.0 with this merge before the docs are updated .. otherwise it'll just be 2x the work.

Yep, I'll apply your docs pr to 4.3 when that version is released and available on docs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ACPK picture ACPK  路  5Comments

begriffs picture begriffs  路  4Comments

jpincas picture jpincas  路  4Comments

fusionbeam picture fusionbeam  路  4Comments

kishyr picture kishyr  路  3Comments