updateOrCreate where date is greater than today

By | October 30, 2018

Is there a way to updateorcreate records in a table where the created_at date field is greater than today(midnight)?

I have the following sample:

            'match_id' => $match->id,
            // 'created_at' => some query here to match a record created today

Leave a Reply

Your email address will not be published. Required fields are marked *