dimanche 27 janvier 2019

How do I make the unique check on month of a year in Laravel

Here is a table named installments which has date_of_receipt and user_id columns. I need to check if a date date_of_receipt = 27-01-2019 has present according to a user so I have to validate this entity already exists here for any January 2019 day. How can I do that in Laravel5.7 with MySQL?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire