Class yii\db\mssql\conditions\LikeConditionBuilder
{@inheritdoc}
Protected Properties
Property | Type | Description | Defined By |
---|---|---|---|
$escapeCharacter | string|null | Character used to escape special characters in LIKE conditions. | yii\db\conditions\LikeConditionBuilder |
$escapingReplacements | {@inheritdoc} | yii\db\mssql\conditions\LikeConditionBuilder | |
$queryBuilder | yii\db\QueryBuilder | yii\db\ExpressionBuilderTrait |
Public Methods
Method | Description | Defined By |
---|---|---|
__construct() | ExpressionBuilderTrait constructor. | yii\db\ExpressionBuilderTrait |
build() | Method builds the raw SQL from the $expression that will not be additionally escaped or quoted. | yii\db\conditions\LikeConditionBuilder |
Protected Methods
Method | Description | Defined By |
---|---|---|
parseOperator() | yii\db\conditions\LikeConditionBuilder |
Property Details
protected $escapingReplacements = ['%' => '[%]', '_' => '[_]', '[' => '[[]', ']' => '[]]', '\\' => '[\\]']
Signup or Login in order to comment.