Oihana PHP Arango

notLike.php

Table of Contents

Functions

notLike()  : string
Returns an AQL expression that checks if the left string does not match the right LIKE pattern.

Functions

notLike()

Returns an AQL expression that checks if the left string does not match the right LIKE pattern.

notLike(mixed $leftOperand, mixed $rightOperand) : string

Equivalent to the ArangoDB NOT LIKE comparison operator.

Example:

  • "foo" NOT LIKE "f%" returns false
  • "bar" NOT LIKE "f%" returns true
Parameters
$leftOperand : mixed

The string value or expression to test.

$rightOperand : mixed

The LIKE pattern expression.

Tags
example
echo notLike('"foo"', '"f%"');
// "foo" NOT LIKE "f%"

echo notLike('doc.name', '"A_%"');
// doc.name NOT LIKE "A_%"
see
https://docs.arangodb.com/stable/aql/operators/#array-comparison-operators
since
1.0.0
author

Marc Alcaraz

Return values
string

The AQL predicate string.

On this page

Search results