Skip to main content
Debaranjan Ghosh (MM) 님이 #Salesforce Developer에 질문했습니다

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

답변 6개
  1. 2022년 10월 27일 오전 7:50

    Hi @Debaranjan Ghosh

     

    You can directly assign to a list variable 

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