mini\Parsing\SQL\AstParameterBinder
class
Documentation
Binds parameters to AST by replacing placeholders with literal values
This creates a new AST with all PlaceholderNode instances replaced by LiteralNode instances containing the actual parameter values.
Usage:
$binder = new AstParameterBinder(['Alice', 30]);
$boundAst = $binder->bind($ast);
// Now PlaceholderNode('?') are replaced with LiteralNode values
Properties (2)
private
array $params
private
int $positionalIndex
Methods (4)
Documentation missing
Bind parameters to AST
Documentation missing
Documentation missing