vitaly-t opened this issue 5 years ago · 1 comments
With reference to #657 in pg-promise, which now supports BigInt, this module needs to be updated.
pg-promise
It uses JSON.stringify on query-formatting values in a few places, which does not support BigInt type, and will bomb out when you supply such values.
JSON.stringify
Implemented in version 1.3.0.
1.3.0
Now it will display BigInt-s like in JavaScript - as an open value, with n at the end.
BigInt
n