in.php
Table of Contents
Functions
- in() : string
- Returns an AQL expression that checks if the left operand is contained in the right operand array.
Functions
in()
Returns an AQL expression that checks if the left operand is contained in the right operand array.
in(mixed $leftOperand, mixed $rightOperand) : string
Equivalent to the ArangoDB IN comparison operator.
Example:
1.5 IN [ 2, 3, 1.5 ]returnstrue42 IN [ 2, 3, 1.5 ]returnsfalse
Parameters
- $leftOperand : mixed
-
The value or expression to look for.
- $rightOperand : mixed
-
The array expression to search in.
Tags
Return values
string —The AQL predicate string.