Level 51
Jan 29, 2023
2
Level 1
get last record by date
hi! how do I get the last record by date? this return the first record by date
$station = Station::groupBy('date')->orderBy('date', 'DESC')->get();
Please or to participate in this conversation.