mini\Database\PartialQuery::bindParamsToAST() Method

private

Signature

private function bindParamsToAST(mini\Parsing\SQL\AST\ASTNode $node, array $params): int

Parameters

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

Returns

int

Documentation

Bind parameter values to PlaceholderNodes in an AST

Supports both positional (?) and named (:name) placeholders. For positional, params are consumed in order. For named, params are looked up by name (without the colon).

Source

src/Database/PartialQuery.php:172-215