Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
It's not entirely clear what you mean. The User model can be used to update data in the users table, it will not work to update data in all tables.
Each Eloquent model corresponds to one table in the database.
If you want to update the values in the entire database, then you need to either create a model for each table and access it, or use the Query Builder instead of models.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question