Aggregates: Determining If Records Exist

Return DB::table('orders')->where('finalized', 1)->exists();

return DB::table('orders')->where('finalized', 1)->doesntExist();

Aggregates: Determining If Records Exist — Structure map

Clickable & Draggable!

Aggregates: Determining If Records Exist — Related pages: