allLessThanOrEqual.php
Table of Contents
Functions
- allLessThanOrEqual() : string
- Returns an AQL expression that checks if **all elements** of an array are less than or equal to a given value.
Functions
allLessThanOrEqual()
Returns an AQL expression that checks if **all elements** of an array are less than or equal to a given value.
allLessThanOrEqual(mixed $leftOperand, mixed $rightOperand) : string
Equivalent to the ArangoDB ALL <= array comparison operator.
Example:
[ 3, 4, 5 ] ALL <= 5returnstrue[ 1, 2, 3 ] ALL <= 2returnsfalse
Parameters
- $leftOperand : mixed
-
The array or expression to evaluate.
- $rightOperand : mixed
-
The value or expression to compare against.
Tags
Return values
string —The AQL predicate string.