You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I initialized the mysql2 client with 'cast_booleans' = true
Then I use a prepared statement to query a table. The boolean returns as '\x01'. When I query with client.query('select boolValue from myTable') then the values will be true or false
The text was updated successfully, but these errors were encountered:
Hi thanks for replying quickly! I'm using mysql2 (0.4.9 x86-mingw32, 0.4.6 x86-mingw32). I tried using :cast_booleans instead of 'cast_booleans' = true and it still doesnt work for prepared statements
Specifically, :cast_booleans does not work with BIT(1) per tests in #903. Please let me know if you have other data types / column types that also don't work. Apologies for the long delay before I got the specs updated to verify this issue.
Hi, I initialized the mysql2 client with 'cast_booleans' = true
Then I use a prepared statement to query a table. The boolean returns as '\x01'. When I query with client.query('select boolValue from myTable') then the values will be true or false
The text was updated successfully, but these errors were encountered: