Skip to content

ArangoDB Module

ArangoDB is an open source friendly multi-model database. You can find the documentation of the ArangoDB JavaScript driver here.


it("should connect and return a query result", async () => {
  const container = await new ArangoDBContainer().start();
  const db = new Database({ url: container.getHttpUrl() });

  db.useBasicAuth(container.getUsername(), container.getPassword());

  const value = "Hello ArangoDB!";
  const result = await db.query({
    query: "RETURN @value",
    bindVars: { value },
  const returnValue = await;

  await container.stop();