Conditions | 2 |
Paths | 2 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
69 | public function initialLetterSQL(string $column, string $letter, Builder $query): void |
||
70 | { |
||
71 | $query->where($column . ' /*! COLLATE utf8_czech_ci */', 'LIKE', '\\' . $letter . '%'); |
||
72 | |||
73 | if ($letter === 'C') { |
||
74 | $query->where($column . ' /*! COLLATE utf8_czech_ci */', 'NOT LIKE', 'CS%'); |
||
75 | } |
||
86 |