How to use the Query Builder correctly in Laravel | Tutorial | Quick Win Wednesday #QWW

preview_player
Показать описание
In this week's #QWW, we're having a look at the Query Builder, and how to use it correctly.

We're optimizing our performance by a. lot of request time, models loaded and memory used.

Have a great Quick Win Wednesday!

My Gear:
Рекомендации по теме
Комментарии
Автор

It got much faster.
Thank you for the tip.

douglasfernando
Автор

How to make "historical" product stock table in a POS app using Laravel?
Let's say:
1. admin1 (production dept.) want to add more product amount to production report table and it will increase the product stock value,
2. admin2 (sales dept.) want to add product amount sold to sales report table and it will decrease the product stock value,
2. admin3 (supervisor) wants make correction to the stock value in case some of the products are broken or stolen.

Thanks in advance...

TrikNgonlen