Operator uses ConstantsTrait
Table of Contents
Constants
- AGGREGATE : string = 'AGGREGATE'
- The AGGREGATE clause in the COLLECT operations to aggregate the data per group, such as determining the minimum, maximum, and average values, the sums, and more.
- ARRAY_EXPANSION : string = '[*]'
- The array expansion operator.
- ASSIGN : string = '='
- Variable assignment (LET / COLLECT operations, AGGREGATE / PRUNE clauses)
- AT_LEAST : string = 'AT LEAST'
- The special AT LEAST (<expression>) operator to require an arbitrary number of elements to satisfy the condition to evaluate to true.
- DISTINCT : string = 'DISTINCT'
- The DISTINCT keyword will ensure uniqueness of the values returned by the RETURN statement.
- INTO : string = 'INTO'
- INTO operator (INSERT / UPDATE / REPLACE / REMOVE / COLLECT operations).
- KEEP : string = 'KEEP'
- In the COLLECT clause, an optional KEEP clause that can be used to control which variables will be copied into the variable created by INTO.
- RANGE : string = '..'
- The range operator.
- SCOPE : string = '::'
- The scope operator (user-defined AQL functions)
- WITH : string = 'WITH'
- The `WITH` operator (WITH / UPDATE / REPLACE / COLLECT operations).
- WITH_COUNT : string = 'WITH COUNT'
- The `COLLECT` clause also provides a special `WITH COUNT` clause that can be used to determine the number of group members efficiently.
Constants
AGGREGATE
The AGGREGATE clause in the COLLECT operations to aggregate the data per group, such as determining the minimum, maximum, and average values, the sums, and more.
public
string
AGGREGATE
= 'AGGREGATE'
Tags
ARRAY_EXPANSION
The array expansion operator.
public
string
ARRAY_EXPANSION
= '[*]'
ASSIGN
Variable assignment (LET / COLLECT operations, AGGREGATE / PRUNE clauses)
public
string
ASSIGN
= '='
AT_LEAST
The special AT LEAST (<expression>) operator to require an arbitrary number of elements to satisfy the condition to evaluate to true.
public
string
AT_LEAST
= 'AT LEAST'
You can use a static number or calculate it dynamically using an expression.
DISTINCT
The DISTINCT keyword will ensure uniqueness of the values returned by the RETURN statement.
public
string
DISTINCT
= 'DISTINCT'
INTO
INTO operator (INSERT / UPDATE / REPLACE / REMOVE / COLLECT operations).
public
string
INTO
= 'INTO'
KEEP
In the COLLECT clause, an optional KEEP clause that can be used to control which variables will be copied into the variable created by INTO.
public
string
KEEP
= 'KEEP'
If no KEEP clause is specified, all variables from the scope will be copied as sub-attributes into the groupsVariable.
This is safe but can have a negative impact on performance if there are many variables in scope or the variables contain massive amounts of data.
Tags
RANGE
The range operator.
public
string
RANGE
= '..'
SCOPE
The scope operator (user-defined AQL functions)
public
string
SCOPE
= '::'
WITH
The `WITH` operator (WITH / UPDATE / REPLACE / COLLECT operations).
public
string
WITH
= 'WITH'
WITH_COUNT
The `COLLECT` clause also provides a special `WITH COUNT` clause that can be used to determine the number of group members efficiently.
public
string
WITH_COUNT
= 'WITH COUNT'