Final Class Yiisoft\Db\Mysql\Builder\LikeBuilder
| Inheritance | Yiisoft\ |
|---|
Build an object of {@see Like} into SQL expressions for MySQL Server.
Protected Methods
| Method | Description | Defined By |
|---|---|---|
| prepareColumn() | Yiisoft\ |
Method Details
| protected string prepareColumn ( \ | ||
| $condition | \ |
|
| $params | array | |
protected function prepareColumn(Like|NotLike $condition, array &$params): string
{
$column = parent::prepareColumn($condition, $params);
if ($condition->caseSensitive === true) {
$column = 'BINARY ' . $column;
}
return $column;
}
User Contributed Notes
Leave a comment
Join the conversation to share a note.