node-postgres-named
node-postgres-named copied to clipboard
export the 'numericFromNames' function
Instead of 'patching' the client, we can convert the query to numeric for use with other implementations that only support numeric array-based parameters, such as pg-query-stream.
The renaming of out.sql to out.text was so it follows the same format used by node-postgres.