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

private

Signature

private function allocatePage(mini\Table\Index\BTreeLeafPage|mini\Table\Index\BTreeInternalPage $page): int

Parameters

Name Type Default Description
$page mini\Table\Index\BTreeLeafPage|mini\Table\Index\BTreeInternalPage required Documentation missing

Returns

int

Documentation

Allocate a new page in the overlay. Returns the page number.

Used when creating new pages (e.g., splits).

Source

src/Table/Index/BTreeIndex.php:1661-1666