mini\Parsing\SQL\SqlRenderer::renderWithParams() Method

public

Signature

public function renderWithParams(mini\Parsing\SQL\AST\ASTNode $node): array

Parameters

Name Type Default Description
$node mini\Parsing\SQL\AST\ASTNode required Documentation missing

Returns

array

Documentation

Render an AST node to SQL string and collect bound parameter values

Returns both the SQL (with ? placeholders) and an array of bound values in the order they appear. This ensures params are always correctly ordered to match their placeholders.

Source

src/Parsing/SQL/SqlRenderer.php:91-100