Custom Database Connector
Feature Description I would like to be able to introduce my own DataBase connector in my projects.
Goal of Feature The idea is to create some freedom around the DBs used, e.g. i would like to work with Neo4j or Databricks
Current Solution For non-graph data i spin up a temp PostgreSQL DB and import my data from e.g. Databricks.
Hi @programmicha, at the moment each custom database connector would need to be built in the same way our existing connectors are set up - each connector needs to export a runQuery function (see Postgres example here).
If you want to build the connectors you need, we can help you get them contributed as fully supported Evidence connectors. The process to do that is:
- Create a fork of the
evidencerepo - Commit your new connector
- Test to make sure the data (and column types) returned by the connector are as expected
- Open a PR against the develop branch of the main project
Here's an example commit from another community member who built a MySQL connector.
Let me know if you have any questions or if you'd like to spend some time chatting about it.
Hi @hughess, thx for the reply - i will try it out.