source/Spiral/ORM/Entities/RecordSelector.php
public function fetchData(OutputNode $node = null): array
    {
        /** @var OutputNode $node */
        $node = $node ?? $this->loader->createNode();

        //Working with parser defined by loader itself
        $this->loader->loadData($node);

        return $node->getResult();
    }
public function fetchData(OutputNode $node = null): array
    {
        /** @var OutputNode $node */
        $node = $node ?? $this->loader->createNode();

        //Working with parser defined by loader itself
        $this->loader->loadData($node);

        return $node->getResult();
    }
public function fetchData ( OutputNode $ node = null ) : array { /** @var OutputNode $node */ $ node = $ node ?? $ this -> loader -> createNode ( ) ; //Working with parser defined by loader itself $ this -> loader -> loadData ( $ node ) ; return $ node -> getResult ( ) ; }
Load data tree from databases and linked loaders in a form of array.

@param OutputNode $node When empty node will be created automatically by root relation
loader.

@return array
Load data tree from databases and linked loaders in a form of array .