The bindSqlValue function marshals all non-string values as strings, which results in type errors from the database server when e.g. passing an integer as a positional argument:
Implicit conversion from datatype 'CHAR' to 'INT' is not allowed.
A comment in the code already notes that the current marshalling is a hack.
The bindSqlValue function marshals all non-string values as strings, which results in type errors from the database server when e.g. passing an integer as a positional argument:
A comment in the code already notes that the current marshalling is a hack.