Oihana PHP Arango

noneGreaterThanOrEqual.php

Table of Contents

Functions

noneGreaterThanOrEqual()  : string
Returns an AQL expression that checks if none of the elements of an array are greater than or equal to a value.

Functions

noneGreaterThanOrEqual()

Returns an AQL expression that checks if none of the elements of an array are greater than or equal to a value.

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

Equivalent to the ArangoDB NONE >= array comparison operator.

Example:

  • [ 1, 2, 3 ] NONE >= 6 returns true
  • [ 1, 2, 3 ] NONE >= 2 returns false
Parameters
$leftOperand : mixed

The array or expression to evaluate.

$rightOperand : mixed

The value or expression to compare against.

Tags
example
echo noneGreaterThanOrEqual('[ 1, 2, 3 ]', 6);
// [ 1, 2, 3 ] NONE >= 6

echo noneGreaterThanOrEqual('scores', 10);
// scores NONE >= 10
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