I Am making a query where I need to find all the results for reminder that are greater than 24h in that database.
My query looks like this but its wrong I believe
$reminder = Reminder::where('reminder_date','<', Carbon::now()->addHours(24))
->get();
Using Laravel / Carbon
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire