Categories

Sep 26, 2019 in Salesforce

Q: Difference between SOQL Vs SOSL in salesforce?

1 Answer

Sep 27, 2019

SOQL- (Salesforce Object Query Language) SOSL (Salesforce object Search Language)

Using SOQL we can Search only on one object one time. Using SOSL we can search on many objects at one time.

We can query on all fields of any datatype We can query only on fields whose data type is text,phone and Email.

We can use SOQL in the Triggers and the classes. We cannot use in Triggers but can in classes.

We can perform DML operation on sql query results. We cannot perform DML operation on search results.

Click here to read more about Salesforce
Click here to read more about Insurance

Related questions

Madanswer
Sep 26, 2019 in Salesforce
May 31 in Node.Js
Mar 2 in JAVA
...