source/Spiral/ORM/Entities/Loaders/RootLoader.php
public function withColumns(array $columns): self
    {
        $loader = clone $this;
        $loader->columns = array_merge(
            [$loader->schema[Record::SH_PRIMARY_KEY]],
            $columns
        );

        return $loader;
    }
public function withColumns(array $columns): self
    {
        $loader = clone $this;
        $loader->columns = array_merge(
            [$loader->schema[Record::SH_PRIMARY_KEY]],
            $columns
        );

        return $loader;
    }
public function withColumns ( array $ columns ) : self { $ loader = clone $ this ; $ loader -> columns = array_merge ( [ $ loader -> schema [ Record :: SH_PRIMARY_KEY ] ] , $ columns ) ; return $ loader ; }
Columns to be selected, please note, primary will always be included, DO not include
column aliases in here, aliases will be added automatically. Creates new loader tree copy.

@param array $columns

@return RootLoader
Columns to be selected please note primary will always be included DO not include column aliases in here aliases will be added automatically . Creates new loader tree copy .