Replies: 2 comments 1 reply
-
Doesn't |
Beta Was this translation helpful? Give feedback.
1 reply
-
We definitely won't add to Yii 2 as this would be a totally new feature, but you are free to prepare a custom package handling it though, maybe someone indeed is looking for that functionality (I don't, and never did, and never heard of anyone looking for it). The problem here would be a validation because with typical use case for scenarios (create/update) you don't know which scenario should be used for it until you save it which is too late. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I see we have upsert in the QueryBuilder which works and we use it.
Would it be feasible to make it part of ActiveRecord
ideally
Beta Was this translation helpful? Give feedback.
All reactions