├── .gitignore ├── .npmignore ├── LICENSE ├── README.md ├── package.json ├── src ├── connection.ts ├── errors.ts ├── index.ts ├── parser.ts ├── pgTypes │ └── interval.ts ├── pool.ts ├── query.ts ├── transaction.ts ├── types.ts └── utils │ ├── camelify.ts │ ├── eitherToPromise.ts │ ├── sql.ts │ └── taskEither.ts ├── tests ├── integration │ ├── queries.test.ts │ ├── support │ │ ├── db.ts │ │ ├── errors.ts │ │ ├── testTypes.ts │ │ └── types.ts │ └── transaction.test.ts └── utils │ ├── camelify.test.ts │ └── sql.test.ts ├── tsconfig.json └── tslint.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/musicglue/pg-ts/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/musicglue/pg-ts/HEAD/.npmignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/musicglue/pg-ts/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/musicglue/pg-ts/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/musicglue/pg-ts/HEAD/package.json -------------------------------------------------------------------------------- /src/connection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/musicglue/pg-ts/HEAD/src/connection.ts -------------------------------------------------------------------------------- /src/errors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/musicglue/pg-ts/HEAD/src/errors.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/musicglue/pg-ts/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/parser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/musicglue/pg-ts/HEAD/src/parser.ts -------------------------------------------------------------------------------- /src/pgTypes/interval.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/musicglue/pg-ts/HEAD/src/pgTypes/interval.ts -------------------------------------------------------------------------------- /src/pool.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/musicglue/pg-ts/HEAD/src/pool.ts -------------------------------------------------------------------------------- /src/query.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/musicglue/pg-ts/HEAD/src/query.ts -------------------------------------------------------------------------------- /src/transaction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/musicglue/pg-ts/HEAD/src/transaction.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/musicglue/pg-ts/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/utils/camelify.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/musicglue/pg-ts/HEAD/src/utils/camelify.ts -------------------------------------------------------------------------------- /src/utils/eitherToPromise.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/musicglue/pg-ts/HEAD/src/utils/eitherToPromise.ts -------------------------------------------------------------------------------- /src/utils/sql.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/musicglue/pg-ts/HEAD/src/utils/sql.ts -------------------------------------------------------------------------------- /src/utils/taskEither.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/musicglue/pg-ts/HEAD/src/utils/taskEither.ts -------------------------------------------------------------------------------- /tests/integration/queries.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/musicglue/pg-ts/HEAD/tests/integration/queries.test.ts -------------------------------------------------------------------------------- /tests/integration/support/db.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/musicglue/pg-ts/HEAD/tests/integration/support/db.ts -------------------------------------------------------------------------------- /tests/integration/support/errors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/musicglue/pg-ts/HEAD/tests/integration/support/errors.ts -------------------------------------------------------------------------------- /tests/integration/support/testTypes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/musicglue/pg-ts/HEAD/tests/integration/support/testTypes.ts -------------------------------------------------------------------------------- /tests/integration/support/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/musicglue/pg-ts/HEAD/tests/integration/support/types.ts -------------------------------------------------------------------------------- /tests/integration/transaction.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/musicglue/pg-ts/HEAD/tests/integration/transaction.test.ts -------------------------------------------------------------------------------- /tests/utils/camelify.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/musicglue/pg-ts/HEAD/tests/utils/camelify.test.ts -------------------------------------------------------------------------------- /tests/utils/sql.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/musicglue/pg-ts/HEAD/tests/utils/sql.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/musicglue/pg-ts/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/musicglue/pg-ts/HEAD/tslint.json --------------------------------------------------------------------------------