src/ORM/DataList.php
public function setQueriedColumns($queriedColumns)
    {
        return $this->alterDataQuery(function (DataQuery $query) use ($queriedColumns) {
            $query->setQueriedColumns($queriedColumns);
        });
    }
public function setQueriedColumns($queriedColumns)
    {
        return $this->alterDataQuery(function (DataQuery $query) use ($queriedColumns) {
            $query->setQueriedColumns($queriedColumns);
        });
    }
public function setQueriedColumns ( $ queriedColumns ) { return $ this -> alterDataQuery ( function ( DataQuery $ query ) use ( $ queriedColumns ) { $ query -> setQueriedColumns ( $ queriedColumns ) ; } ) ; }
Restrict the columns to fetch into this DataList

@param array $queriedColumns
@return static
Restrict the columns to fetch into this DataList