mirror of https://gitee.com/bigwinds/arangodb
16 lines
700 B
Plaintext
16 lines
700 B
Plaintext
!CHAPTER Extending AQL with User Functions
|
|
|
|
AQL comes with a built-in set of functions, but it is not a
|
|
fully-featured programming language.
|
|
|
|
To add missing functionality or to simplify queries, users
|
|
may add their own functions to AQL. These functions can be written
|
|
in Javascript, and must be registered via the API;
|
|
see [Registering Functions](../AqlExtending/Functions.html).
|
|
|
|
In order to avoid conflicts with existing or future built-in
|
|
function names, all user functions must be put into separate
|
|
namespaces. Invoking a user functions is then possible by referring
|
|
to the fully-qualified function name, which includes the namespace,
|
|
too; see [Conventions](../AqlExtending/Conventions.html).
|