LikeConditionBuilder
API reference › yii › db › sqlite › conditions › LikeConditionBuilder
Class LikeConditionBuilder builds objects of LikeCondition
Properties
Section titled “Properties”| Property | Type | Description | Defined by |
|---|---|---|---|
$escapeCharacter protected | string| | Default: '\. | LikeConditionBuilder |
$escapingReplacements protected | array | Map of chars to their replacements in LIKE conditions. Default: ['%' => '\. | yii\ |
$queryBuilder protected | yii\ | Default: null. | yii\ |
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
__construct() | ExpressionBuilderTrait constructor. | yii\ |
build() | Method builds the raw SQL from the $expression that will not be additionally escaped or quoted. | yii\ |
parseOperator() protected | yii\ |
Property details
Section titled “Property details”$escapeCharacter
Section titled “$escapeCharacter ”protected string|null $escapeCharacter = '\\'By default it’s assumed to be \.