You are here

public function SearchApiViewsQuery::fields in Search API 7

File

contrib/search_api_views/includes/query.inc, line 642
Contains SearchApiViewsQuery.

Class

SearchApiViewsQuery
Views query class using a Search API index as the data source.

Code

public function fields(array $fields) {
  if (!$this->errors) {
    $this->query
      ->fields($fields);
  }
  return $this;
}