Skip to content

Commit d785b13

Browse files
committed
Refactoring
1 parent 5a978c0 commit d785b13

File tree

1 file changed

+6
-6
lines changed
  • force-app/main/default/classes/main/standard-soql

1 file changed

+6
-6
lines changed

force-app/main/default/classes/main/standard-soql/SOQL.cls

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,12 @@ public virtual inherited sharing class SOQL implements Queryable {
9898
Queryable whereAre(String conditions);
9999
Queryable conditionLogic(String order);
100100
Queryable anyConditionMatching();
101+
// PREDEFINED WHERE
102+
Queryable byId(SObject record);
103+
Queryable byId(Id recordId);
104+
Queryable byIds(Iterable<Id> recordIds);
105+
Queryable byIds(List<SObject> records);
106+
Queryable byRecordType(String recordTypeDeveloperName);
101107
// GROUP BY
102108
Queryable groupBy(SObjectField field);
103109
Queryable groupBy(String field);
@@ -146,12 +152,6 @@ public virtual inherited sharing class SOQL implements Queryable {
146152
// DEBUGGING
147153
Queryable preview();
148154
Map<String, Object> binding();
149-
// PREDEFINED
150-
Queryable byId(SObject record);
151-
Queryable byId(Id recordId);
152-
Queryable byIds(Iterable<Id> recordIds);
153-
Queryable byIds(List<SObject> records);
154-
Queryable byRecordType(String recordTypeDeveloperName);
155155
// RESULT
156156
Id toId();
157157
Set<Id> toIds();

0 commit comments

Comments
 (0)