diff --git a/README.md b/README.md index 5ad20735..9bcc8e86 100644 --- a/README.md +++ b/README.md @@ -1034,7 +1034,7 @@ See the relevant API: [pgp.end], [Database.$pool] ### update -Version 10.11.0 of the library started supporting new connection option `allowExitOnIdle`, to let process exit when pool is idle. +Version 10.11.0 added support for connection option `allowExitOnIdle`, to let process exit when pool is idle. # History diff --git a/lib/formatting.js b/lib/formatting.js index 61f30cbd..7d93e424 100644 --- a/lib/formatting.js +++ b/lib/formatting.js @@ -718,7 +718,8 @@ const $as = { /** * @method formatting.json * @description - * Converts any value into JSON, and returns it as a valid string, with single-quote symbols fixed, unless flag `raw` is set. + * Converts any value into JSON (includes `BigInt` support), and returns it as a valid string, + * with single-quote symbols fixed, unless flag `raw` is set. * * When formatting a query, a variable makes use of this method via modifier `:json`. See method {@link formatting.format format}. *