コード例 #1
0
 /**
  * Set which columns to fetch
  *
  * This notifies the repository about each desired query column.
  *
  * @param   array   $columns    If null or an empty array, all columns will be fetched
  *
  * @return  $this
  */
 public function columns(array $columns)
 {
     $this->query->columns($this->prepareQueryColumns($this->target, $columns));
     return $this;
 }