mini\Table\ArrayTable::planIndexScan() Method

private

Signature

private function planIndexScan(): array

Returns

array

Documentation

Plan an index scan based on filters and ordering

Returns: [indexCol, lowBound, highBound, includeLow, includeHigh, remainingFilters]

  • indexCol: column to use for index scan, or null for full scan
  • lowBound/highBound: range bounds (null = unbounded)
  • includeLow/includeHigh: whether bounds are inclusive
  • remainingFilters: filters that couldn't use the index

Source

src/Table/ArrayTable.php:348-432