source/Spiral/ORM/Entities/RecordSelector.php
public function withColumns(array $columns): self
    {
        $selector = clone $this;
        $selector->loader = $selector->loader->withColumns($columns);

        return $selector;
    }
public function withColumns(array $columns): self
    {
        $selector = clone $this;
        $selector->loader = $selector->loader->withColumns($columns);

        return $selector;
    }
public function withColumns ( array $ columns ) : self { $ selector = clone $ this ; $ selector -> loader = $ selector -> loader -> withColumns ( $ columns ) ; return $ selector ; }
Columns to be selected, please note, primary will always be included, DO not include
column aliases in here, aliases will be added automatically. Creates selector as response.

@param array $columns

@return RecordSelector
Columns to be selected please note primary will always be included DO not include column aliases in here aliases will be added automatically . Creates selector as response .