dbdpg icon indicating copy to clipboard operation
dbdpg copied to clipboard

Adding an option to return SQL_INT8 as a number or as a string

Open true-alex opened this issue 3 years ago • 0 comments

In versions prior to 3.0.0, values of type SQL_INT8 were returned as strings, in some cases it was convenient, for example, when passing returned values to a web browser, since in JavaScript the integer type is 53 bits. The pg_int8_as_string option, when true, returns the old behavior and returns 64-bit integer values as strings (default is false).

true-alex avatar Sep 29 '22 12:09 true-alex