New answers tagged

1 vote
Accepted

Error in Dynamic SOQL when binding a variable

Let's say your class is like this: public inherited sharing class MyFirstBatch implements Database.Batchable<SObject> { String query; public MyFirstBatch(objName, fromDate, toDate) {...
user avatar
  • 3,613

Top 50 recent answers are included