Don't use literal true and false in queries #320
Closed
sleberknight
started this conversation in
Ideas
Replies: 3 comments 1 reply
|
Actually, the literals mysql> SELECT TRUE, true, FALSE, false;
-> 1, 1, 0, 0So our queries which use reference: https://dev.mysql.com/doc/refman/8.3/en/boolean-literals.html |
1 reply
|
Not that we really care about Oracle, but apparently version 23c finally introduced a boolean type. |
0 replies
|
I am closing this as "resolved". We can revisit if it ever becomes an issue, which I highly doubt it will. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
We're using the literal
trueandfalsein queries which works for certain databases but not others (hi MySQL).It might be a good idea to change all the literal booleans to bind parameters, both in JDBI and JDBC implementations.
reference: #316 (comment)
All reactions