Return to Snippet

Revision: 30621
at August 18, 2010 15:46 by Xhitman


Initial Code
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;
	}
}

Initial URL


Initial Description
Salesforce Util for use IN operator with SOQL

Initial Title
Salesforce Util for use IN operator with SOQL

Initial Tags


Initial Language
Other