improve naming for query scopes

This commit is contained in:
hackerESQ
2024-08-29 18:46:21 -05:00
parent 1e0a149ded
commit c522e399e8
9 changed files with 29 additions and 27 deletions
@@ -52,7 +52,7 @@ new class extends Component {
// $key = 'portfolio-metrics-' . $portfolio->id;
// $metrics = cache()->remember($key, 60, function () use ($portfolio) {
// return Holding::where(['portfolio_id' => $portfolio->id])
// ->getPortfolioMetrics()
// ->withPortfolioMetrics()
// ->first();
// });