Is there a way to use firstOrCreate with an interval of dates. I know you can use:
Model::firstOrCreate(['field' => $value], ['created_at' => $dateValue]);
But is it possible to check if the record exist between the last few days?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire