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
B. Option B
C. Option C
Answer: B
Explanation:
The following SearchCriteria query will replicate the SQL query:
$searchCriteria = new MagentoFrameworkApiSearchCriteriaBuilder(); $searchCriteria->addFilter(‘name’, ‘Brand 1’, ‘eq’); $searchCriteria->addFilter(‘status’, 1, ‘eq’);
$brandCollection = $this->brandRepository->getList($searchCriteria);
Latest AD0-E716 Dumps Valid Version with 69 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund