mini\Parsing\SQL\AST\PlaceholderNode class

Documentation

Placeholder node (? or :name)

Placeholders can have bound values attached. When a value is bound, the placeholder knows both its token (for SQL rendering) and its actual value (for evaluation and parameter collection).

Inheritance

Extends: mini\Parsing\SQL\AST\ASTNode

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

Properties (4)

public string $type
public string $token
public mixed $boundValue

The bound value for this placeholder (null if not bound)

public bool $isBound

Whether this placeholder has a bound value

Methods (4)

Documentation missing

Bind a value to this placeholder

Documentation missing

Create a deep clone of this AST node

Source

src/Parsing/SQL/AST/PlaceholderNode.php:12-42