├── .eslintignore ├── .eslintrc.json ├── .github └── workflows │ ├── integration-tests.yml │ └── publish.yml ├── .gitignore ├── .prettierrc.json ├── CLAUDE.md ├── LICENSE ├── README.md ├── README_v1.md ├── data-api-client-logo-v2.png ├── examples ├── COMPAT_README.md └── compat-usage.ts ├── fixtures ├── sample-batch-delete-response.json ├── sample-batch-insert-response.json ├── sample-batch-update-response.json ├── sample-delete-response.json ├── sample-insert-response.json ├── sample-query-response.json └── sample-update-response.json ├── infra └── integration-test-infra.yml ├── integration-tests ├── INTEGRATION_TESTING.md ├── drizzle-mysql.int.test.ts ├── drizzle-pg.int.test.ts ├── knex-mysql.int.test.ts ├── kysely-mysql.int.test.ts ├── kysely-pg.int.test.ts ├── mysql.int.test.ts ├── mysql2-compat.int.test.ts ├── pg-compat.int.test.ts ├── postgres.int.test.ts └── setup.ts ├── package.json ├── scripts ├── README.md ├── setup-integration-tests.sh └── teardown-integration-tests.sh ├── src ├── client.ts ├── compat │ ├── errors.ts │ ├── index.ts │ ├── mysql2.ts │ └── pg.ts ├── index.ts ├── params.test.ts ├── params.ts ├── pg-escape.test.ts ├── pg-escape.ts ├── query.test.ts ├── query.ts ├── results.test.ts ├── results.ts ├── retry.test.ts ├── retry.ts ├── transaction.ts ├── types.ts ├── utils.test.ts └── utils.ts ├── tsconfig.eslint.json ├── tsconfig.json └── vitest.config.mjs /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/workflows/integration-tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/.github/workflows/integration-tests.yml -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /CLAUDE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/CLAUDE.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/README.md -------------------------------------------------------------------------------- /README_v1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/README_v1.md -------------------------------------------------------------------------------- /data-api-client-logo-v2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/data-api-client-logo-v2.png -------------------------------------------------------------------------------- /examples/COMPAT_README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/examples/COMPAT_README.md -------------------------------------------------------------------------------- /examples/compat-usage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/examples/compat-usage.ts -------------------------------------------------------------------------------- /fixtures/sample-batch-delete-response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/fixtures/sample-batch-delete-response.json -------------------------------------------------------------------------------- /fixtures/sample-batch-insert-response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/fixtures/sample-batch-insert-response.json -------------------------------------------------------------------------------- /fixtures/sample-batch-update-response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/fixtures/sample-batch-update-response.json -------------------------------------------------------------------------------- /fixtures/sample-delete-response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/fixtures/sample-delete-response.json -------------------------------------------------------------------------------- /fixtures/sample-insert-response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/fixtures/sample-insert-response.json -------------------------------------------------------------------------------- /fixtures/sample-query-response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/fixtures/sample-query-response.json -------------------------------------------------------------------------------- /fixtures/sample-update-response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/fixtures/sample-update-response.json -------------------------------------------------------------------------------- /infra/integration-test-infra.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/infra/integration-test-infra.yml -------------------------------------------------------------------------------- /integration-tests/INTEGRATION_TESTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/integration-tests/INTEGRATION_TESTING.md -------------------------------------------------------------------------------- /integration-tests/drizzle-mysql.int.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/integration-tests/drizzle-mysql.int.test.ts -------------------------------------------------------------------------------- /integration-tests/drizzle-pg.int.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/integration-tests/drizzle-pg.int.test.ts -------------------------------------------------------------------------------- /integration-tests/knex-mysql.int.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/integration-tests/knex-mysql.int.test.ts -------------------------------------------------------------------------------- /integration-tests/kysely-mysql.int.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/integration-tests/kysely-mysql.int.test.ts -------------------------------------------------------------------------------- /integration-tests/kysely-pg.int.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/integration-tests/kysely-pg.int.test.ts -------------------------------------------------------------------------------- /integration-tests/mysql.int.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/integration-tests/mysql.int.test.ts -------------------------------------------------------------------------------- /integration-tests/mysql2-compat.int.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/integration-tests/mysql2-compat.int.test.ts -------------------------------------------------------------------------------- /integration-tests/pg-compat.int.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/integration-tests/pg-compat.int.test.ts -------------------------------------------------------------------------------- /integration-tests/postgres.int.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/integration-tests/postgres.int.test.ts -------------------------------------------------------------------------------- /integration-tests/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/integration-tests/setup.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/package.json -------------------------------------------------------------------------------- /scripts/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/scripts/README.md -------------------------------------------------------------------------------- /scripts/setup-integration-tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/scripts/setup-integration-tests.sh -------------------------------------------------------------------------------- /scripts/teardown-integration-tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/scripts/teardown-integration-tests.sh -------------------------------------------------------------------------------- /src/client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/src/client.ts -------------------------------------------------------------------------------- /src/compat/errors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/src/compat/errors.ts -------------------------------------------------------------------------------- /src/compat/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/src/compat/index.ts -------------------------------------------------------------------------------- /src/compat/mysql2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/src/compat/mysql2.ts -------------------------------------------------------------------------------- /src/compat/pg.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/src/compat/pg.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/params.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/src/params.test.ts -------------------------------------------------------------------------------- /src/params.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/src/params.ts -------------------------------------------------------------------------------- /src/pg-escape.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/src/pg-escape.test.ts -------------------------------------------------------------------------------- /src/pg-escape.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/src/pg-escape.ts -------------------------------------------------------------------------------- /src/query.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/src/query.test.ts -------------------------------------------------------------------------------- /src/query.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/src/query.ts -------------------------------------------------------------------------------- /src/results.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/src/results.test.ts -------------------------------------------------------------------------------- /src/results.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/src/results.ts -------------------------------------------------------------------------------- /src/retry.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/src/retry.test.ts -------------------------------------------------------------------------------- /src/retry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/src/retry.ts -------------------------------------------------------------------------------- /src/transaction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/src/transaction.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/utils.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/src/utils.test.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/src/utils.ts -------------------------------------------------------------------------------- /tsconfig.eslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/tsconfig.eslint.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/tsconfig.json -------------------------------------------------------------------------------- /vitest.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jeremydaly/data-api-client/HEAD/vitest.config.mjs --------------------------------------------------------------------------------