Open Vitaliy-1 opened 2 weeks ago
I think we should try to preserve the default behaviours of Eloquent and Builders as much as possible and if need to changed, should be changed for all cases . Having the update
return 2 different types of value structure (int and array) only given that when there is settings table associated will make it harder to track how to use the return values .
Describe the bug Originally, when eloquent model is updated, the method returns the number of updated rows from the primary table. E.g.,
After refactoring, Models that are utilising settings table, will return the number of updated rows from the primary table and settings table.
What application are you using? OJS main branch