收藏Debaranjan Ghosh (MM) 提问于 #Salesforce Developer2022年10月27日 07:42how do we assign large queries results to a collection ?In Salesforce and looping through the collection ( ie without SOQL for loops )? Please share code example 6 个回答排序按日期排序按最有帮助排序按日期排序加载更多评论...已采纳的回答Usman Ali2022年10月27日 07:50Hi @Debaranjan Ghosh You can directly assign to a list variable List<Account> accounts = [SELECT Id FROM Account];添加评论撰写回答...粗体斜体下划线删除线项目符号列表编号列表添加链接代码块插入图像附加文件链接 URL取消保存0/9000回复
已采纳的回答Usman Ali2022年10月27日 07:50Hi @Debaranjan Ghosh You can directly assign to a list variable List<Account> accounts = [SELECT Id FROM Account];