Skip to main content

In Salesforce and looping through the collection ( ie without SOQL for loops )? Please share code example 

6 Antworten
  1. 27. Okt. 2022, 07:50

    Hi @Debaranjan Ghosh

     

    You can directly assign to a list variable 

    List<Account> accounts = [SELECT Id FROM Account];
0/9000