Open
Description
In my opinion type-casting should not be done in this level. It should be done in higher level ORM like libraries.
Type casting in here is one-way. Only for result of SELECTs. It cannot be done for in INSERTs and UPDATES or WHEREs in queries.
This may make testing tricky. You insert a date value, but it may be different when you read it according to timezone. Floats may be slightly different also, because of rounding etc.
in mysql driver it is possible to turn of type casting by typeCast: false and also dateStrings: true.