Oihana PHP Arango

greaterThanOrEqual.php

Table of Contents

Functions

greaterThanOrEqual()  : string
Returns an AQL expression that checks if the left operand is greater than or equal to the right operand.

Functions

greaterThanOrEqual()

Returns an AQL expression that checks if the left operand is greater than or equal to the right operand.

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

Equivalent to the ArangoDB >= comparison operator.

Example:

  • 3 >= 3 returns true
  • 2 >= 3 returns false
Parameters
$leftOperand : mixed

The left-hand value or expression.

$rightOperand : mixed

The right-hand value or expression to compare against.

Tags
example
echo greaterThanOrEqual('a', 12);
// a >= 12

echo greaterThanOrEqual('doc.score', 90);
// doc.score >= 90
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