ArangoDB v3.2 reached End of Life (EOL) and is no longer supported.
This documentation is outdated. Please see the most recent version here: Try latest
The application context
applicationContext variable available in Foxx modules has been replaced with the
context attribute of the
module variable. For consistency it is now referred to as the service context throughout this documentation.
Some methods of the service context have changed in ArangoDB 3.0:
fileName()now behaves like
path()did in ArangoDB 2.x
path()has been removed (use
foxxFileName()has been removed (use
name attributes have been removed and can now only be accessed via the
manifest attribute (as
manifest.name). Note that the corresponding manifest fields are now optional and may be omitted.
options attribute has also been removed as it should be considered an implementation detail. You should instead access the
configuration attributes directly.
_prefix attribute (which was an alias for
basePath) and the internal
clearComments methods (which were used by the magical documentation comments in ArangoDB 2.x) have also been removed.
_service attribute (which provides access to the service itself) has been renamed to