source/Spiral/ORM/Entities/Nodes/AbstractNode.php
protected function fetchData(int $dataOffset, array $line): array
    {
        if (empty($this->columns)) {
            return $line;
        }

        try {
            //Combine column names with sliced piece of row
            return array_combine(
                $this->columns,
                array_slice($line, $dataOffset, $this->countColumns)
            );
        } catch (\Exception $e) {
            throw new NodeException("Unable to parse incoming row", $e->getCode(), $e);
        }
    }
protected function fetchData(int $dataOffset, array $line): array
    {
        if (empty($this->columns)) {
            return $line;
        }

        try {
            //Combine column names with sliced piece of row
            return array_combine(
                $this->columns,
                array_slice($line, $dataOffset, $this->countColumns)
            );
        } catch (\Exception $e) {
            throw new NodeException("Unable to parse incoming row", $e->getCode(), $e);
        }
    }
protected function fetchData ( int $ dataOffset , array $ line ) : array { if ( empty ( $ this -> columns ) ) { return $ line ; } try { //Combine column names with sliced piece of row return array_combine ( $ this -> columns , array_slice ( $ line , $ dataOffset , $ this -> countColumns ) ) ; } catch ( \ Exception $ e ) { throw new NodeException ( "Unable to parse incoming row" , $ e -> getCode ( ) , $ e ) ; } }
Fetch record columns from query row, must use data offset to slice required part of query.

@param int   $dataOffset
@param array $line

@return array
Fetch record columns from query row must use data offset to slice required part of query .