Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "index"

import arangojs, { aql, Database } from "arangojs";

The "index" module is the default entry point when importing the arangojs module or using the web build in the browser.

If you are just getting started, you probably want to use the arangojs function, which is the default export of this module, or the Database class for which it is a wrapper.

Index

References

ArangoError

Re-exports ArangoError

CollectionStatus

Re-exports CollectionStatus

CollectionType

Re-exports CollectionType

Database

Re-exports Database

ViewType

Re-exports ViewType

aql

Re-exports aql

Functions

arangojs

  • Creates a new Database instance with its own connection pool.

    This is a wrapper function for the Database.constructor.

    Parameters

    • Optional config: Config

      An object with configuration options.

    Returns Database

  • Creates a new Database instance with its own connection pool.

    This is a wrapper function for the Database.constructor.

    Parameters

    • url: string | string[]

      Base URL of the ArangoDB server or list of server URLs. Equivalent to the url option in Config.

    Returns Database

Generated using TypeDoc