Retrieving Single Models / Aggregates: Retrieving Aggregates

$count = App\Flight::where('active', 1)->count();

$max = App\Flight::where('active', 1)->max('price');

Retrieving Single Models / Aggregates: Retrieving Aggregates — Structure map

Clickable & Draggable!

Retrieving Single Models / Aggregates: Retrieving Aggregates — Related pages: