Example #1
0
 /**
  * Return a new query for the given columns
  *
  * @param   array   $columns    The desired columns, if null all columns will be queried
  *
  * @return  RepositoryQuery
  */
 public function select(array $columns = null)
 {
     $query = new RepositoryQuery($this);
     $query->from($this->getBaseTable(), $columns);
     return $query;
 }