Double paren causes SQL error when using IN
operator
#705
Replies: 3 comments
-
I'd suggest to yank |
Beta Was this translation helpful? Give feedback.
-
I can confirm this should be a consequence of 675, however I'd suggest you to use
Lines 1515 to 1523 in 5922d6f If you also look at |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Description
Values used by
IN
operator get double wrapped in parens. Example code that reproduces the error:When
sea-query 0.30.1
is used, I get this output:We get a runtime error (using
mariadb 10.6.14
):Removing the double paren makes the error go away. I'll try to minimize the expression that causes the error.
EDIT: Using 2 values triggers the error (MRE code updated).
When
sea-query 0.30.0
is used, I get this output:And no runtime error.
Could be a regression related to #675 because this error started to happen in
0.30.1
. Version0.30.0
does not have this error.Reproduces How Often
Always
Versions
0.30.1
Beta Was this translation helpful? Give feedback.
All reactions