All Solution List
Add New Solution
Pending Solution
Completed Solution
Checking Solution
All Cards Solution
Edit Solutions
Question
productCollection->create()" Collection i want single column select but its not working direct addFeildToSelect() " >While getting data from "$this->productCollection->create()" Collection i want single column select but its not working direct addFeildToSelect()
Assigner
Mukesh
Rashika
Atish
Aaditya
Kalyani
Brij
Developer
Mukesh
Rashika
Atish
Aaditya
Kalyani
Brij
Module
Product
Errors
Category
PHP
MYSQL
Status
Pending
Done
Checking
Working
Answer
getSelect()->reset(\Zend_Db_Select::COLUMNS) ->columns(['entity_id']); " get the column which you want " > We solve this issue using reset the Column " $collection->getSelect()->reset(\Zend_Db_Select::COLUMNS) ->columns(['entity_id']); " get the column which you want
SAVE