logicalOr.php
Table of Contents
Functions
- logicalOr() : string
- Returns an AQL expression that combines two predicates using the logical OR operator (||).
Functions
logicalOr()
Returns an AQL expression that combines two predicates using the logical OR operator (||).
logicalOr(mixed $leftOperand, mixed $rightOperand) : string
This function mirrors the LogicalTrait::or() 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.