how to get the total of distinct dates in sql eloquent code example
Example: select distinct laravel
$items = DB::table('item')->select('item_name')->distinct()->get();
$items = DB::table('item')->select('item_name')->distinct()->get();