clearGroupBy method

Sqler clearGroupBy()

Clears all GROUP BY fields from the query.

Returns this to enable method chaining.

Example:

query.clearGroupBy(); // Removes all GROUP BY fields

Implementation

Sqler clearGroupBy() {
  _groupBy = [];
  return this;
}