├── .gitattributes ├── .github ├── dependabot.yml ├── stale.yml └── workflows │ └── ci.yml ├── .gitignore ├── .npmignore ├── .npmrc ├── .pgpass ├── LICENSE ├── README.md ├── ci_scripts ├── build.sh ├── install_libpq.sh └── install_openssl.sh ├── eslint.config.js ├── examples └── typescript │ ├── multiple-db │ ├── app.ts │ └── tsconfig.json │ ├── single-db │ ├── app.ts │ └── tsconfig.json │ └── transactions │ ├── app.ts │ └── tsconfig.json ├── index.d.ts ├── index.js ├── lib └── add-handler.js ├── package.json ├── test-types ├── imports.test-d.ts ├── initialization.test-d.ts ├── query.test-d.ts └── transaction.test-d.ts └── test ├── add-handler.test.js ├── helpers.js ├── initialization-log.test.js ├── initialization.test.js ├── query.test.js ├── req-initialization.test.js ├── test-reporter.mjs └── transaction.test.js /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-postgres/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-postgres/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/stale.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-postgres/HEAD/.github/stale.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-postgres/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-postgres/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-postgres/HEAD/.npmignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false 2 | -------------------------------------------------------------------------------- /.pgpass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-postgres/HEAD/.pgpass -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-postgres/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-postgres/HEAD/README.md -------------------------------------------------------------------------------- /ci_scripts/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-postgres/HEAD/ci_scripts/build.sh -------------------------------------------------------------------------------- /ci_scripts/install_libpq.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-postgres/HEAD/ci_scripts/install_libpq.sh -------------------------------------------------------------------------------- /ci_scripts/install_openssl.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-postgres/HEAD/ci_scripts/install_openssl.sh -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-postgres/HEAD/eslint.config.js -------------------------------------------------------------------------------- /examples/typescript/multiple-db/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-postgres/HEAD/examples/typescript/multiple-db/app.ts -------------------------------------------------------------------------------- /examples/typescript/multiple-db/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-postgres/HEAD/examples/typescript/multiple-db/tsconfig.json -------------------------------------------------------------------------------- /examples/typescript/single-db/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-postgres/HEAD/examples/typescript/single-db/app.ts -------------------------------------------------------------------------------- /examples/typescript/single-db/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-postgres/HEAD/examples/typescript/single-db/tsconfig.json -------------------------------------------------------------------------------- /examples/typescript/transactions/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-postgres/HEAD/examples/typescript/transactions/app.ts -------------------------------------------------------------------------------- /examples/typescript/transactions/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-postgres/HEAD/examples/typescript/transactions/tsconfig.json -------------------------------------------------------------------------------- /index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-postgres/HEAD/index.d.ts -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-postgres/HEAD/index.js -------------------------------------------------------------------------------- /lib/add-handler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-postgres/HEAD/lib/add-handler.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-postgres/HEAD/package.json -------------------------------------------------------------------------------- /test-types/imports.test-d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-postgres/HEAD/test-types/imports.test-d.ts -------------------------------------------------------------------------------- /test-types/initialization.test-d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-postgres/HEAD/test-types/initialization.test-d.ts -------------------------------------------------------------------------------- /test-types/query.test-d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-postgres/HEAD/test-types/query.test-d.ts -------------------------------------------------------------------------------- /test-types/transaction.test-d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-postgres/HEAD/test-types/transaction.test-d.ts -------------------------------------------------------------------------------- /test/add-handler.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-postgres/HEAD/test/add-handler.test.js -------------------------------------------------------------------------------- /test/helpers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-postgres/HEAD/test/helpers.js -------------------------------------------------------------------------------- /test/initialization-log.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-postgres/HEAD/test/initialization-log.test.js -------------------------------------------------------------------------------- /test/initialization.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-postgres/HEAD/test/initialization.test.js -------------------------------------------------------------------------------- /test/query.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-postgres/HEAD/test/query.test.js -------------------------------------------------------------------------------- /test/req-initialization.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-postgres/HEAD/test/req-initialization.test.js -------------------------------------------------------------------------------- /test/test-reporter.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-postgres/HEAD/test/test-reporter.mjs -------------------------------------------------------------------------------- /test/transaction.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-postgres/HEAD/test/transaction.test.js --------------------------------------------------------------------------------