+ Start a Discussion
Balaji B 10Balaji B 10 

how to search entire object with text or number? is it possible? Please give me best example with custom controller

Hi Balaji,

you can search using SOQL and SOSL as well but SOSL is really meant for search in apex.

sample sosl:

FIND 'map*' IN ALL FIELDS RETURNING Account (Id, Name), Contact, Opportunity, Lead

let me know, if it helps you or need any help :)