keboola/db-writer-adapter

MyComponent description

0.1.0 2024-02-09 20:17 UTC

This package is auto-updated.

Last update: 2024-12-09 22:00:42 UTC


README

This library contains a common interface for connecting to database and writing data to, various sources:

  • It is intended for use with db-writer-common.
  • It supports PDO and ODBC connections for now.
  • The interfaces defined in this library can be easily used to support other methods, e.g. cli BCP tool.

Main Classes

Development

Clone this repository and init the workspace with following command:

git clone https://github.com/keboola/db-writer-adapter
cd db-writer-adapter
docker-compose build
docker-compose run --rm dev composer install --no-scripts

Run the test suite using this command:

docker-compose run --rm dev composer tests

License

MIT licensed, see LICENSE file.