You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should be added to phpdoc, indeed. Do you have time for a pull request?
hey! i have time for a pr.
Btw what do you think about catching the exceptions inside of save(). as otherwise each user of save() needs to create a try catch, which bloats up that user's abstraction layer unnecessarily?
about catching the exceptions inside of save():
I think this should/can not be done, as exceptions thrown within save() can be (or are) used to handle use cases like #8392 or #20253
What steps will reproduce the problem?
What is the expected result?
Throwable as update(), insert() methods could throw these
What do you get instead?
Additional info
save() method - BaseActiveRecord
insert() method - ActiveRecord
update() method - BaseActiveRecord
The text was updated successfully, but these errors were encountered: