src/FlexiPeeHP/Zurnal.php
public function getAllChanges($object)
    {
        $changesArray = [];

        $evidence = $object->getEvidence();
        if (array_key_exists($evidence, self::$evidenceToDb)) {
            $dbTable = self::$evidenceToDb[$evidence];
            $changes = $this->getColumnsFromFlexibee('*',
                ['tabulka' => $dbTable, 'idZaznamu' => $object->getMyKey()]);

            foreach ($changes as $change) {
                $changesArray[$change['datCas']][$change['sloupec']] = $change;
            }
        }
        return $changesArray;
    }
public function getAllChanges($object)
    {
        $changesArray = [];

        $evidence = $object->getEvidence();
        if (array_key_exists($evidence, self::$evidenceToDb)) {
            $dbTable = self::$evidenceToDb[$evidence];
            $changes = $this->getColumnsFromFlexibee('*',
                ['tabulka' => $dbTable, 'idZaznamu' => $object->getMyKey()]);

            foreach ($changes as $change) {
                $changesArray[$change['datCas']][$change['sloupec']] = $change;
            }
        }
        return $changesArray;
    }
public function getAllChanges ( $ object ) { $ changesArray = [ ] ; $ evidence = $ object -> getEvidence ( ) ; if ( array_key_exists ( $ evidence , self :: $ evidenceToDb ) ) { $ dbTable = self :: $ evidenceToDb [ $ evidence ] ; $ changes = $ this -> getColumnsFromFlexibee ( '*' , [ 'tabulka' => $ dbTable , 'idZaznamu' => $ object -> getMyKey ( ) ] ) ; foreach ( $ changes as $ change ) { $ changesArray [ $ change [ 'datCas' ] ] [ $ change [ 'sloupec' ] ] = $ change ; } } return $ changesArray ; }
obtain all record changes array

Note: Do not use this method in production environment!

If you have no other choice pleas add indexes into wzurnal
postgesql table:

CREATE INDEX CONCURRENTLY tname_index ON wzurnal (tabulka);
CREATE INDEX CONCURRENTLY rid_index ON wzurnal (idZaznamu);

@param FlexiBeeRO $object
@return array changes history
obtain all record changes array