0.1.0 • Published 10 months ago

arangodb-cubejs-driver v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

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 :heart:. 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.