mini\Parsing\SQL\AST\WindowFunctionNode class

Documentation

Window function node - func() OVER (...)

SQL:2003 window functions with OVER clause:

  • ROW_NUMBER() OVER (ORDER BY col)
  • RANK() OVER (PARTITION BY cat ORDER BY col DESC)
  • DENSE_RANK(), etc.

Inheritance

Extends: mini\Parsing\SQL\AST\ASTNode

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

Properties (4)

public string $type
public array $partitionBy
public array $orderBy

Methods (3)

Documentation missing

Documentation missing

Create a deep clone of this AST node

Source

src/Parsing/SQL/AST/WindowFunctionNode.php:13-27