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