/ Published in: Other

Salesforce Util for use IN operator with SOQL
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
public with Util{ public static Set<id> getIds(sObject[] objList){ Set<id> retval = new Set<id>(); for(sobject thisObj: objList){ retval.add(thisObj.id); } return retval; } }
Comments
