How to create Magento 2 custom collection query

- Fire development, Magento 2

Magento 2 Development

To create Magento 2 custom collection query, use the same principle as in case of 1.x (Magento 2 SQL query syntax s the same). For instance:

Source (Stackexchange Question)(Mage2.PRO)

More tips from the Cookbook