+ Start a Discussion
ashish jadhav 9ashish jadhav 9 

when to use list<list<sobject>>? how to use ?

can you plz tell me how to use it?
Dheeraj ChawlaDheeraj Chawla
Hi Ashish,

list<list<sobject >> is mainly we use in SOSL query.

for example:- 
list<list<sobject>> res=[FIND 'Any string you wanna search' IN ALL FIELDS RETURNING Lead];

You can refer this link for further info: