/cubejs-arangodb-driver

ArangoDB driver for Cube JS

Primary LanguageTypeScriptMIT LicenseMIT

Cube.js

WebsiteDocsBlogSlackDiscourseTwitter

npm version Test CI

Cube.js Arango Database Driver

Project is WIP. We've already used in our production but some Postgresql do not transpile to AQL because we don't use all of SQL statements in our product now.

npm i --save arangodb-cubejs-driver

What's in this repository

  • ArangoDB driver in Typescript ❤️. Postgresql parser with pgsql-ast-parser.
  • Docker image ghcr.io/panoti/cube:main. This is a custom image of cube:latest with arangodb-cubejs-driver

Usage

For Docker

Create custom image with Dockerfile

FROM cubejs/cube:latest

RUN npm i arangodb-cubejs-driver

Package arangodb-cubejs-driver will install into /cube/cnf/node_modules directory and CubeJS load driver automatically.

Note: This driver isn't supported by front-end so we can not use connection wizard to config arango data source. Please use env instead.

environment:
  - CUBEJS_DB_URL=http://localhost:8529
  - CUBEJS_DB_NAME=test
  - CUBEJS_DB_USER=test
  - CUBEJS_DB_PASS=test
  - CUBEJS_DB_TYPE=arangodb

Learn more

Other community drivers can find here @cubejs-driver

License

Cube.js Arango driver is MIT licensed.