Posts

Showing posts with the label Salesforce Apex

SOQL vs SOSL explaination

SOQL vs SOSL explaination:- SOSL(Salesforce object search language) simplified :- Facebook graph search is much-a-like SOSL, After searching something you can see results returned from name,post, pages which in turn like returning a List of list of sObjects. SOQL(Salesforce object query language) simplified :- SOQL is like searching your Facebook friend list which in turn like returning a List of sObjects. Tabular comparison :- SOQL SOSL Data retrieval done via using ‘SELECT’ keyword Data retrieval done via using ‘FIND’ keyword Data retrieval from single object plus related objects Data retrieval from multiple objects. Much-a-like querying on single table Much-a-like querying on Multiple table SOQL and SOSL generally have the same limitations SOQL and SOSL generally have the same limitations Governor Limits on SOQL and SOSL :- SOQL Limits -> Total number of SOQL queries issued in synchronous mode is  100 , where in asynchronous mod...