mini\Parsing\SQL\SqlParser::parseWithParams()
Method
public
static
Signature
public static function parseWithParams(string $sql, array $params = array (
)): mini\Parsing\SQL\AST\ASTNode
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$sql |
string |
required | Documentation missing |
$params |
array |
array (
)
|
Documentation missing |
Returns
Documentation
Parse SQL and bind parameters, returning the AST
Convenience method that parses SQL and binds parameter values to PlaceholderNodes in a single call.