Home » Magento » Magento 2 Certified Associate Developer » What will be the result of calling the save() method on a collection instance?
What will be the result of calling the save() method on a collection instance?
A. It will save all items with one INSERT … ON DUPLICATE KEY UPDATE query
B. It will loop over all items and call save () on each one
C. It will save the select query execution result into the cache
D. It will save the select query to the cache
Correct Answer: B
Explanation/Reference:
Reference: https://magento.stackexchange.com/questions/259336/how-to-call-save-method-in-collection-instance
Download Printable PDF. VALID exam to help you PASS.
|
|
Answer: B
Correct Answer B