public function Sql::clearFields

Remove all fields that may've been added; primarily used for summary mode where we're changing the query because we didn't get data we needed.

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php, line 784
Definition of Drupal\views\Plugin\views\query\Sql.

Class

Sql
@todo.

Namespace

Drupal\views\Plugin\views\query

Code

public function clearFields() {
  $this->fields = array();
}