Types should be cast automatically this should be possible with prepared statements where the DB responds with the type of each column (does it?). For statements that are not prepared, maybe allow the user to define the data types by enum?
I am getting errors like float not being cast to columns that are double, and int failing to cast to smallint.
Types should be cast automatically this should be possible with prepared statements where the DB responds with the type of each column (does it?). For statements that are not prepared, maybe allow the user to define the data types by enum?
I am getting errors like
floatnot being cast to columns that aredouble, andintfailing to cast tosmallint.