I know we can verify straightforward SOQL in query plan. Now, I am trying to find a way to use query planner for a dynamic SOQL queries. My SOQL query depends on several Ids (list of Ids) and binding variables which will be available only in the run time. Now, is that possible to verify a complex dynamic query in query planner? Please provide some guidance.

  • Yes, just make sure to use typical inputs or better still check the plan for each of the input patterns. – Keith C Jan 27 at 14:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.