Skip to main content
2 votes

Apex Batch QueryLocator : SOQL statements cannot query aggregate relationships more than 1 level away from the root entity object

Even if this were supported, this is a bad idea. Even using just plain one-level subquery causes significant performance penalties in batchable classes in the start method. You can, and should, query ...
sfdcfox's user avatar
  • 497k

Only top scored, non community-wiki answers of a minimum length are eligible