rangeOperator.php
Table of Contents
Functions
- rangeOperator() : string
- Generates an AQL range expression using the range operator (`..`).
Functions
rangeOperator()
Generates an AQL range expression using the range operator (`..`).
rangeOperator(int|float|string $minimum, int|float|string $maximum) : string
The range operator can be used in AQL FOR loops to iterate over
a sequence of numeric values, inclusive of both $minimum and $maximum.
Example output:
2010..2013
which can be iterated as [2010, 2011, 2012, 2013] in AQL queries.
Parameters
- $minimum : int|float|string
-
The start value of the range.
- $maximum : int|float|string
-
The end value of the range.
Tags
Return values
string —The AQL range expression as a string.