function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sudheshna iyersudheshna iyer 

query the multiple objects like Account, Opportunity and User in one call

How do I query the multiple objects like Account, Opportunity and User in one call? I need to get all the opportunities for an object along with the logged in user who made the call?

Is it possible to get all the information in one query or do I need to make multiple calls?

Thanks in advance for your help.
Abu Hashim ShaikAbu Hashim Shaik
Can you be more specific with the user...??
I mean if the logged in user is owning some records (Owner of the account you are referring to) then definetly Yes, you can query in a single call.