node-postgres-named-function-arguments
Named function arguments for node-postgres
# via npm $ npm install node-postgres-named-function-arguments # via yarn (automatically saves the package to your `dependencies` in package.json) $ yarn add node-postgres-named-function-arguments
Usage
;client;
and
var nfa = ;var sql = ;client;
would be the same as...
client;
Rationale
This package solves two major problems with a lot of the solutions out there.
- Target a specific overloaded function
- Target specific arguments where default values are used