1
0
Fork 0

clarify meaning of range operator (#3780)

This commit is contained in:
Jan 2017-11-27 12:29:18 +01:00 committed by Frank Celler
parent cb3b71d697
commit bc19a48ee5
1 changed files with 7 additions and 2 deletions

View File

@ -287,8 +287,8 @@ AQL supports expressing simple numeric ranges with the *..* operator.
This operator can be used to easily iterate over a sequence of numeric
values.
The *..* operator will produce an array of values in the defined range, with
both bounding values included.
The *..* operator will produce an array of the integer values in the
defined range, with both bounding values included.
*Examples*
@ -302,6 +302,11 @@ will produce the following result:
[ 2010, 2011, 2012, 2013 ]
```
Using the range operator is equivalent to writing an array with the integer
values in the range specified by the bounds of the range. If the bounds of
the range operator are non-integers, they will be converted to integer
values first.
There is also a [RANGE() function](Functions/Numeric.md#range).
#### Array operators