ArangoDB v3.4 reached End of Life (EOL) and is no longer supported.
This documentation is outdated. Please see the most recent version here: Latest Docs
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 exist 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
- db._document(object)
- db._exists(object)
- db._remove(selector)
- db._replace(selector,data)
- db._update(selector,data)
Views
Global