add arangodb integration

This commit is contained in:
sovlookup 2021-01-28 21:48:29 +08:00
parent 7a6e677b89
commit 1b6eb426c6
1 changed files with 2 additions and 4 deletions

View File

@ -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",
@ -48,7 +46,7 @@ class ArangoDBIntegration {
}
this.config = config
this.client = arangojs.arangojs(config)
this.client = new Database(config)
}
async read(query) {