List<List<sObject>> means we have a list of a list of objects such as a list of account list, contact list, opportunity list, lead list
It is mainly use in SOSL, or also known as global search. SOSL has the ability to search across multiple objects in one query. So if you do something like the following it will return results from Accounts, Contacts, Opportunities, and Leads.
List<List<sObject>> means we have a list of a list of objects such as a list of account list, contact list, opportunity list, lead list
It is mainly use in SOSL, or also known as global search. SOSL has the ability to search across multiple objects in one query. So if you do something like the following it will return results from Accounts, Contacts, Opportunities, and Leads.
The example above has List<List<sObject>> of accounts, contacts, opportunities and Leads using the FIND search in SOSL.
Hope this will help you. Let me know if it helped or you need any more assistance.
Please mark this is as the solution if it solved your purpose.
Thanks,
Sohan Raj Gupta