Skip to content

Commit

Permalink
add arangodb integration
Browse files Browse the repository at this point in the history
  • Loading branch information
SOVLOOKUP committed Jan 28, 2021
1 parent d1ba3f9 commit 13aab3b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/server/src/integrations/arangodb.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
const arangojs = require("arangojs")
const { Database, aql } = require("arangojs")
const { FIELD_TYPES, QUERY_TYPES } = require("./Integration")
// const arangodb = arangojs.Database
const aql = arangojs.aql

const SCHEMA = {
docs: "https://github.com/arangodb/arangojs",
Expand Down Expand Up @@ -48,7 +46,7 @@ class ArangoDBIntegration {
}

this.config = config
this.client = arangojs.arangojs(config)
this.client = new Database(config)
}

async read(query) {
Expand Down

0 comments on commit 13aab3b

Please sign in to comment.