You need to sign in to do that
Don't have an account?
Ad_Infosys
Return multiple variables
I have requirement to return an SObject and two variables in a web service. How do I cater to this problem.
Superfell
return an instance of an apex class. see the docs.
Ad_Infosys
Thanks Simon,
I did it as directed.
Success.
One more doubt on the same context we discussed earlier. The limit for number of SOQL is 100 in a method. Is this the number of SOQL executed for a particular scenerio in the code.
Eg if we have 145 queries in a code but at a time only 45 are executed. So the code is safe.
Is my interpretation correct.?
I developed a trigger code. In that limit is 20 SOQL. but I wrote more. but at a point of time less than 20 SOQLs executed. COde never blasted.