Closed nicksrandall closed 1 year ago
Thanks for this. However, exporting these functions at the top-level is a quite a new addition to pg
.
Right now, the Neon driver builds on top of pg 8.8. We'll need to make some changes in order to upgrade to the latest version.
In the meantime, you can access these utility functions on a client instance or as Client.prototype.escapeIdentifier()
/Client.prototype.escapeLiteral()
.
See: https://node-postgres.com/apis/utilities