Метод createCaseInsensitiveCondition
Сигнатура метода
private static function createCaseInsensitiveCondition(string $field, string $operator, mixed $value): Condition
Возвращает:
Condition
Описание
A comparison of a column that ignores case: the column is folded by a value of the query and every compared value by the very same function, so neither side of the comparison carries a case of its own into the answer. The value is folded by the database rather than by PHP, and this is what the two sides being one function buys: the rules of folding differ between the databases and between their encodings, so there is no rule of PHP that could be relied on to agree with them. The folded column is declared as a value of the query only for a read whose condition asks for it, and the order by the same field keeps naming the column ({@see self::requireSortExpression()}): the contract promises nothing about case in the order, and a key over a value rather than over a column would order a page differently for nothing.
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$field
|
string
|
—
|
—
|
$operator
|
string
|
—
|
—
|
$value
|
mixed
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulescrm/lib/V2/Internal/Repository/WebForm/FormRepository.php