You are here

function views_query::clear_fields in Views (for Drupal 7) 6.2

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

includes/query.inc, line 663
query.inc Defines the query object which is the underlying layer in a View.

Class

views_query
Object used to create a SELECT query.

Code

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