anyGreaterThan.php
Table of Contents
Functions
- anyGreaterThan() : string
- Returns an AQL expression that checks if **any elements** of an array are greater than a given value.
Functions
anyGreaterThan()
Returns an AQL expression that checks if **any elements** of an array are greater than a given value.
anyGreaterThan(mixed $leftOperand, mixed $rightOperand) : string
Equivalent to the ArangoDB ANY > array comparison operator.
Example:
[ 3, 4, 5 ] ANY > 2returnstrue[ 1, 2, 3 ] ANY > 5returnsfalse
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.