I would like to do something like this with Eloquent:
UPDATE `perros` SET `raza` = "indeterminado" WHERE `raza` = "Lobo"
So that all records in the "race" field that match the value "Wolf" are automatically rewritten to the value "indeterminate".
I know how to identify all records with the value "Lobo" but I don't know how to update them all at once.
Perros::where("raza","Lobo")->get()
For this the Update method of Eloquent is used