Class \Prado\Data\SqlMap\Configuration\TInlineParameterMapParser
TInlineParameterMapParser class.
The inline parameter map syntax lets you embed the property name, the property type, the column type, and a null value replacement into a parametrized SQL statement.
Class hierarchy
Author: Wei Zhuo <weizho[at]gmail[dot]com>Since: 3.1
public
|
parse(string $sqlText, array<string|int, mixed> $scope) : array<string|int, mixed>
Parse the sql text for inline parameters.
|
protected
|
parseMapping(string $token, array<string|int, mixed> $scope) : mixed
Parse inline parameter with syntax as
#propertyName,type=string,dbype=Varchar,nullValue=N/A,handler=string#
|
|
public
mixed
|
PARAMETER_TOKEN_REGEXP
Regular expression for parsing inline parameter maps.
|
'/#([^#]+)#/'
|