src/Result.php
final private function prefetch() {
        static $prefetched = false;
        if(!$prefetched) {
            $prefetched = true;
            while($row = $this->doFetch()) $this->prefetched[] = $row;
        }
    }
final private function prefetch() {
        static $prefetched = false;
        if(!$prefetched) {
            $prefetched = true;
            while($row = $this->doFetch()) $this->prefetched[] = $row;
        }
    }
final private function prefetch ( ) { static $ prefetched = false ; if ( ! $ prefetched ) { $ prefetched = true ; while ( $ row = $ this -> doFetch ( ) ) $ this -> prefetched [ ] = $ row ; } }
Prefetch method allows to load in memory all the rows quickly and allows for a faster acces with scrollable possibilities.
@staticvar boolean $prefetched Variable checking if prefetch has already been done. If so, won't be done a second time.
Prefetch method allows to load in memory all the rows quickly and allows for a faster acces with scrollable possibilities .