allEqual.php
Table of Contents
Functions
- allEqual() : string
- Returns an AQL expression that checks if **all elements** of an array satisfy a comparison.
Functions
allEqual()
Returns an AQL expression that checks if **all elements** of an array satisfy a comparison.
allEqual(mixed $leftOperand, mixed $rightOperand) : string
Equivalent to the ArangoDB ALL == array comparison operator.
Example:
[ 1, 2, 3 ] ALL == 2returnsfalse[ 2, 2, 2 ] ALL == 2returnstrue
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.