mini\Parsing\SQL\AST\WithStatement class

Documentation

WITH clause wrapper (Common Table Expressions)

Supports:

  • WITH cte AS (SELECT ...) SELECT ...
  • WITH RECURSIVE cte AS (...) SELECT ...
  • WITH cte1 AS (...), cte2 AS (...) SELECT ...

Inheritance

Extends: mini\Parsing\SQL\AST\ASTNode

Implements: JsonSerializable

Properties (4)

public string $type
public array $ctes
public bool $recursive

Methods (3)

Documentation missing

Documentation missing

Create a deep clone of this AST node

Source

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