Raw SQL in select type to number
Hellow, I have the following sql expression in a select statement array:
but the return type of the column in the row is a string. How can I get the type to be a number?
but the return type of the column in the row is a string. How can I get the type to be a number?
Solution
The
pg driver returns numeric type as a string. Use the pg-types package to configure the type.