equal.php
Table of Contents
Functions
- equal() : string
- Returns an AQL expression that checks if the left operand is equal to the right operand.
Functions
equal()
Returns an AQL expression that checks if the left operand is equal to the right operand.
equal(mixed $leftOperand, mixed $rightOperand) : string
Equivalent to the ArangoDB == comparison operator.
Example:
2 == 2returnstrue3 == 2returnsfalse
Parameters
- $leftOperand : mixed
-
The left-hand value or expression.
- $rightOperand : mixed
-
The right-hand value or expression to compare against.
Tags
Return values
string —The AQL predicate string.