Skip to content

It is possible to put parentheses in WHERE condition without CustomExpression #1544

Answered by simolus3
ycherniavskyi asked this question in Q&A
Discussion options

You must be logged in to vote

Drift is supposed to add parentheses where this is necessary. However, OR has the lowest precedence and NOT has a lower precedence than =. So it looks like the parentheses are not needed in your custom expression? Do you just want the parentheses to make the generated query easier to reason about or is there something going wrong here?

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ycherniavskyi
Comment options

@simolus3
Comment options

@ycherniavskyi
Comment options

Answer selected by ycherniavskyi
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