Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

magento 2 colllection set select

$collection->getSelect()
            ->reset(end_Db_Select::COLUMNS)
            ->columns(['id']);
Source by magento.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #magento #colllection #set #select
ADD COMMENT
Topic
Name
1+6 =