Magento 2: List of Useful Commands

As a Magento 2 developer, you know how crucial it is to streamline your workflow and optimize your development process. One way to achieve this is by using command-line tools, which can greatly enhance your productivity. However, with so many commands available, it can be challenging to remember them all. That’s why we’ve compiled a … Read more

Mysql composite index, best practice

We have a database structure where all tables have the cols company and shop, where the relation is one-company-to-many-shops. So an order table would have the cols id, company_id, shop_id, col_a, col_b, col_c… etc. All queries to suchs table would have a where statement beginning with company_id = xx AND shop_id = yy... followed by the actual search on specific columns.