Replies: 1 comment
-
https://github.com/porsager/postgres?tab=readme-ov-file#numbers-bigint-numeric |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
When selecting data into a variable defined by a Typescript type, not all number types properly marshal into typescript numbers.
Version: 3.4.5
Example code
Received:
Expected:
There may be a reason for the decimal and numeric types to return as strings (I am thinking maybe precision?), but I see no reason bigint would be a string.
Note: the BIGSERIAL type also returns as a string.
Beta Was this translation helpful? Give feedback.
All reactions