mini\Table\Index\BTreeIndex::fromArray() Method

public static

Signature

public static function fromArray(string $path, array $rows): self

Parameters

Name Type Default Description
$path string required Documentation missing
$rows array required Documentation missing

Returns

self

Documentation

Build index from array of [key, rowId] pairs.

Uses bulk loading for efficient tree construction.

Source

src/Table/Index/BTreeIndex.php:850-861