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
- db._createDatabase(name, options, users)
- db._databases()
- db._dropDatabase(name, options, users)
- db._useDatabase(name)
Indexes
Properties
Collection
AQL
Document