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

Answer: B

Explanation:

Reference: https://magento.stackexchange.com/questions/259336/how-to-call-save-method-in-collection­instance

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments