Magento
M70-201 · Question #65
Which of the following methods will force an EAV resource collection model to include an attribute in its result set?
The correct answer is A. addAttributeToSelect($attribute). See the full explanation below for the reasoning.
Question
Which of the following methods will force an EAV resource collection model to include an attribute in its result set?
Options
- AaddAttributeToSelect($attribute);
- BgetResource()->addAttribute($attribute);
- CaddFieldToSelect($attribute);
- DgetSelect()->from(`', $attribute);
- EaddAttributeToCollection($attribute);
How the community answered
(22 responses)- A86% (19)
- D5% (1)
- E9% (2)
Community Discussion
No community discussion yet for this question.