isLike.php
Table of Contents
Functions
- isLike() : string
- Returns an AQL expression that checks if the left string matches the right LIKE pattern.
Functions
isLike()
Returns an AQL expression that checks if the left string matches the right LIKE pattern.
isLike(mixed $leftOperand, mixed $rightOperand) : string
Equivalent to the ArangoDB LIKE comparison operator.
Example:
"foo" LIKE "f%"returnstrue"bar" LIKE "f%"returnsfalse
Parameters
- $leftOperand : mixed
-
The string value or expression to test.
- $rightOperand : mixed
-
The LIKE pattern expression.
Tags
Return values
string —The AQL predicate string.