ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 3 - AD0-E716 discussion

Report
Export

An Adobe Commerce developer is working on a module to manage custom brand entities and wants to replicate the following SQL query using SearchCriteria:

A)

B)

C)

A.
Option A
Answers
A.
Option A
B.
Option B
Answers
B.
Option B
C.
Option C
Answers
C.
Option C
Suggested answer: B

Explanation:

The following SearchCriteria query will replicate the SQL query:

$searchCriteria = new \Magento\Framework\Api\SearchCriteriaBuilder();

$searchCriteria->addFilter('name', 'Brand 1', 'eq');

$searchCriteria->addFilter('status', 1, 'eq');

$brandCollection = $this->brandRepository->getList($searchCriteria);

asked 02/10/2024
Christoph Reithmayr
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first