clearOrderBy method

Sqler clearOrderBy()

Clears all ORDER BY specifications from the query.

Returns this to enable method chaining.

Example:

query.clearOrderBy(); // Removes all ORDER BY fields

Implementation

Sqler clearOrderBy() {
  _orderBy = [];
  return this;
}