You can reset columns from the given collection in Magento.
Many times you want to be sure of the better performance for a given query and you want to reset a specific collection by fetching a few of the columns in the result.
Magento Collection provides the reset() method to clear specific part from the sql query. Continue reading “How to do reset columns from collection Query by magento 2?”