anyIn.php
Table of Contents
Functions
- anyIn() : string
- Returns an AQL expression that checks if **any elements** of an array are contained in another array.
Functions
anyIn()
Returns an AQL expression that checks if **any elements** of an array are contained in another array.
anyIn(mixed $leftOperand, mixed $rightOperand) : string
Equivalent to the ArangoDB ANY IN array comparison operator.
Example:
[1, 2, 3] ANY IN [1, 2, 3]returnstrue[1, 2, 4] ANY IN [1, 2, 3]returnstrue(because 1 or 2 are in the second array)
Parameters
- $leftOperand : mixed
-
The array or expression to evaluate.
- $rightOperand : mixed
-
The array or expression to check membership against.
Tags
Return values
string —The AQL predicate string.