src/FlexiPeeHP/FlexiBeeRO.php
function getPrevRecordID($conditions = [])
    {
        $conditions['order'] = 'id@A';
        $conditions['limit'] = 1;
        $conditions[]        = 'id lt '.$this->getRecordID();
        $prev                = $this->getColumnsFromFlexibee(['id'], $conditions);
        return (is_array($prev) && array_key_exists(0, $prev) && array_key_exists('id',
                $prev[0])) ? intval($prev[0]['id']) : null;
    }
function getPrevRecordID($conditions = [])
    {
        $conditions['order'] = 'id@A';
        $conditions['limit'] = 1;
        $conditions[]        = 'id lt '.$this->getRecordID();
        $prev                = $this->getColumnsFromFlexibee(['id'], $conditions);
        return (is_array($prev) && array_key_exists(0, $prev) && array_key_exists('id',
                $prev[0])) ? intval($prev[0]['id']) : null;
    }
function getPrevRecordID ( $ conditions = [ ] ) { $ conditions [ 'order' ] = 'id@A' ; $ conditions [ 'limit' ] = 1 ; $ conditions [ ] = 'id lt ' . $ this -> getRecordID ( ) ; $ prev = $ this -> getColumnsFromFlexibee ( [ 'id' ] , $ conditions ) ; return ( is_array ( $ prev ) && array_key_exists ( 0 , $ prev ) && array_key_exists ( 'id' , $ prev [ 0 ] ) ) ? intval ( $ prev [ 0 ] [ 'id' ] ) : null ; }
Get next record ID

@param array $conditions optional

@return int|null
Get next record ID