mini\Parsing\SQL\AST\QuantifiedComparisonNode class

Documentation

Quantified comparison node - col op ALL/ANY (SELECT ...)

SQL:1999 quantified comparisons:

  • ALL: True if comparison is true for all rows returned by subquery
  • ANY/SOME: True if comparison is true for at least one row

Examples:

  • WHERE price > ALL (SELECT price FROM products WHERE category = 'tools')
  • WHERE price > ANY (SELECT price FROM products WHERE category = 'tools')

Inheritance

Extends: mini\Parsing\SQL\AST\ASTNode

Implements: JsonSerializable mini\Parsing\SQL\AST\ValueNodeInterface

Properties (5)

public string $type
public string $operator
public string $quantifier

Methods (3)

Documentation missing

Documentation missing

Create a deep clone of this AST node

Source

src/Parsing/SQL/AST/QuantifiedComparisonNode.php:16-32