Lesson 07/21 · 3:12 min
Repository for this lesson
Well, does it function properly if I use views in (MySQL or Postgres) and perform the math on the database level before just selecting the result?
If you use DB views for aggregation, then you don't need those functions from Eloquent, you just select the data from your view, I imagine.
Well, does it function properly if I use views in (MySQL or Postgres) and perform the math on the database level before just selecting the result?
If you use DB views for aggregation, then you don't need those functions from Eloquent, you just select the data from your view, I imagine.