PrepAway - Latest Free Exam Questions & Answers

Which two?

You want to filter a product collection so that it will return only SKUs 12 and 123. You will use a call to
$collection->addFieldToFilter(‘sku’, ______________ );
Two of the following arrays could be used to complete that call correctly. Which two? (Choose two)

PrepAway - Latest Free Exam Questions & Answers

A.
array(‘sku’ => 12, ‘sku’ => 123)

B.
array(array(‘eq’ => 12), array(‘eq’ => 123))

C.
array(12 => true, 123 => true)

D.
array(12, 123)

E.
array(array(‘int’ => 12), array(‘int’ => 123))


Leave a Reply

Your email address will not be published. Required fields are marked *