Skip to Content, PHP, MySQL, Javascript, Ajax, Htacces

When to use SOQL and SOSL

Be First!
by March 14, 2013 SALESFORCE, SOQL, SOSL

When to use SOQL and SOSL
When to use SOQL:

  • The sObject type is predetermined.
  • Result data needs to be joined.
  • You want to query beyond text, email, or phone fields.
  • The query needs to be run from a trigger.

When to use SOSL:

  • Searches need to occur across multiple types.



Leave a Reply