code: async function getConnection(url, opts = {}) {
  
      const dbName = opts.databaseName;
      if (!dbName || dbName === '')
          throw boom.badImplementation('jollof-data-arangodb: databaseName config is required', { url, opts })
  
      const key = url + dbName;
  
      //Get connection
      let connection;
      if (connPool[key]) {
          connection = connPool[key];
      } else {
          connection = new Database(url)
          connPool[key] = connection;
      }
  
      //Now ensure database exists
      const dbNames = await connection.listDatabases();
      if (dbNames.indexOf(dbName) > -1) {
          //our db exists. use it.
          connection.useDatabase(dbName)
      } else {
          //our db does not exist. Attempting to create it
          await connection.createDatabase(dbName, [{ username: opts.username, passw: opts.password }])
          connection.useDatabase(dbName)
      }
  
      return connection;
  }
docs: A factory of different ArangoDB connections based on URL
  @param url
  @returns {Promise<*>}