diff --git a/force-app/main/default/classes/SOQL.cls b/force-app/main/default/classes/SOQL.cls index 1c6048f..e95a275 100644 --- a/force-app/main/default/classes/SOQL.cls +++ b/force-app/main/default/classes/SOQL.cls @@ -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); @@ -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; @@ -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';