How to use the pg-types.arrayParser function in pg-types

To help you get started, we’ve selected a few pg-types examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github DefinitelyTyped / DefinitelyTyped / pg-types / pg-types-tests.ts View on Github external
types.setTypeParser(1185, (value) => types.arrayParser.create(value, (x) => x).parse());
github DefinitelyTyped / DefinitelyTyped / types / pg-types / pg-types-tests.ts View on Github external
types.setTypeParser(1185, (value) => types.arrayParser.create(value, (x) => x).parse());

pg-types

Query result type converters for node-postgres

MIT
Latest version published 3 months ago

Package Health Score

86 / 100
Full package analysis