Skip to content
Discussion options

You must be logged in to vote

That only seems to work on entire tables, though. Not on columns of joined tables.

$ curl 'http://localhost:3000/table3' -G -d select='*,table1()' -d or='(table1.value1.gt.1,table2.value2.
gt.5)'
{"code":"PGRST100","details":"unknown single value operator value1","hint":null,"message":"\"failed to parse logic tree ((table1.value1.gt.1,table2.value2.gt.5))\" (line 1, column 18)"}

This doesn't make sense.

The question is on which level you want to filter rows out? Do you want to filter child-level rows out, i.e. in the embedding? Then an or condition across multiple tables doesn't make sense.

Do you want to filter top-level rows out? Then use what @steve-chavez suggested above: Make the …

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@steve-chavez
Comment options

@PAbernet
Comment options

@PAbernet
Comment options

@wolfgangwalther
Comment options

Answer selected by wolfgangwalther
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #2668 on February 17, 2023 19:23.