Метод selectPassBounds
Сигнатура метода
private function selectPassBounds(Connection $connection, SqlHelper $helper): array
Возвращает:
array
Описание
The edges of the primary key the pass walks between, taken when it starts. The filter by CREATED is deliberately absent - MIN/MAX over the filtered set has no early stop and walks the whole index, while the edges of the key are answered from the metadata of the table. Bindings written above the upper edge while the pass runs need no backfill: the write path fills CREATED itself. The lower edge is answered one below the lowest key: the ranges are half-open, so the first of them has to begin below the row it is to reach. Starting there instead of at zero is what makes a row with a non-positive OWNER_ID reachable at all, and it leaves out the empty stretch below the lowest key of the table.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$connection
|
Connection
|
—
|
—
|
$helper
|
SqlHelper
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulescrm/lib/agent/timeline/bindcreatedbackfillagent.php