Метод needsVersionValue
Сигнатура метода
private static function needsVersionValue(WebFormFilter $filter, WebFormListSort $sort): bool
Возвращает:
bool
Описание
Whether the query needs the computed version declared. ALG-02 declares it when a condition or a key of the order is built over it, and never otherwise: a read that asks for it in neither place keeps the statement it had before the value existed, which is what leaves a future index over the column usable.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$filter
|
WebFormFilter
|
—
|
—
|
$sort
|
WebFormListSort
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Internal/Repository/WebForm/FormRepository.php
Расположение метода в файле
Строки
553–556