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