function Sql::clear_fields

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 796
Definition of Drupal\views\Plugin\views\query\Sql.

Class

Sql
@todo.

Namespace

Drupal\views\Plugin\views\query

Code

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