Exam4Training

What two kinds of queries do the methods in Salesforce B2B Commerce services perform by default? (2 answers)

What two kinds of queries do the methods in Salesforce B2B Commerce services perform by default? (2 answers)
A . SOSL
B . SQL
C . SOQL
D . Schema-less queries

Answer: CD

Explanation:

Two kinds of queries that the methods in Salesforce B2B Commerce services perform by default are SOQL and schema-less queries. SOQL is the query language that is used to retrieve data from Salesforce objects and fields. Schema-less queries are queries that do not specify the object or field names explicitly, but use placeholders instead.

For example, ccrz.ccServiceDao.getQuery(‘SELECT Id FROM Account WHERE Name = :name’) is a schema-less query that uses :name as a placeholder for the field name. The framework will transform this query to use the actual field name based on the query transformation rules.

Salesforce Reference: B2B Commerce and D2C Commerce Developer Guide, Query Transformation

Exit mobile version