Skip to content

Commit

Permalink
Revert "Having Draft"
Browse files Browse the repository at this point in the history
This reverts commit dd77070.

Signed-off-by: Piotr PG Gajek <[email protected]>
  • Loading branch information
pgajek2 committed Sep 28, 2024
1 parent dd77070 commit f02acdd
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions force-app/main/default/classes/SOQL.cls
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,6 @@ public virtual inherited sharing class SOQL implements Queryable {
Queryable groupByRollup(String relationshipName, SObjectField field);
Queryable groupByCube(SObjectField field);
Queryable groupByCube(String relationshipName, SObjectField field);
// HAVING
Queryable have();
// ORDER BY
Queryable orderBy(String field);
Queryable orderBy(String field, String direction);
Expand Down Expand Up @@ -605,10 +603,6 @@ public virtual inherited sharing class SOQL implements Queryable {
return this;
}

public SOQL have() {
return this;
}

public SOQL orderBy(String field) {
builder.orderBys.newOrderBy().with(field);
return this;
Expand Down Expand Up @@ -1697,18 +1691,6 @@ public virtual inherited sharing class SOQL implements Queryable {
}
}

private virtual class SoqlHavingGroup implements QueryClause {
public String buildNested() {
return '';
}
}

private class MainHavingGroup extends SoqlHavingGroup {
public override String toString() {
return 'HAVING ' + buildNested();
}
}

private class SoqlOrderBy implements QueryClause {
private String orderField;
private String sortingOrder = 'ASC';
Expand Down

0 comments on commit f02acdd

Please sign in to comment.