lundi 2 juillet 2018

How to update row based on two condition using eloquent in Laravel?

I have a table : Profile Table has one foreign key and primary key. I want to update row based on two condition . Like : where ( id == 1 and user == 'admin')

How to use two para meter in update query using eloquent.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire