The “db” Object

The db object is available in arangosh by default, and can also be imported and used in Foxx services.

db.name returns a collection object for the collection name.

The following methods exists on the _db object:

Database

Indexes

Properties

Collection

AQL

Document