Skip to content

Filtering by values in a JSONB list and and/or conditions #3375

Discussion options

You must be logged in to vote

When using the or operator, the comparisons inside should not use =, but a dot . instead. For instance, this:

or=(metadata->tags=cs.["b=hi"],...)

should be:

or=(metadata->tags.cs.["b=hi"],...)

Check if it works that way.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by SpiritQuaddicted
Comment options

You must be logged in to vote
1 reply
@laurenceisla
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants