Open
Description
I am unable to get the typeCast
option to work at all for the execute
method. I have tried configuring it both on the connection level and per query, but with no success.
I have set up a minimal reproduction example here: https://github.com/joakimbeng/mysql2-bug
The reproduction repo uses mysql2 v3.12.0 and node v22.
Am I missing something or shouldn't the typeCast
option work with both the query
and execute
methods since v3.9.0?