logicalAnd.php
Table of Contents
Functions
- logicalAnd() : string
- Returns an AQL expression that combines two predicates using the logical AND operator (&&).
Functions
logicalAnd()
Returns an AQL expression that combines two predicates using the logical AND operator (&&).
logicalAnd(mixed $leftOperand, mixed $rightOperand) : string
This function mirrors the LogicalTrait::and() method with a standalone functional API.
Example semantics:
a == 2 && b == 3
Parameters
- $leftOperand : mixed
-
The left-hand expression/predicate.
- $rightOperand : mixed
-
The right-hand expression/predicate.
Tags
Return values
string —The AQL predicate string.