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
{{ message }}
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.
I have a relation (has many) model and when saved common model I would like SaveRelationsBehavior only write new record to db. Now SaveRelationsBehavior every time rewriting relations data. This my behavior in model:
public function behaviors() {
return [
[
'class' => SaveRelationsBehavior::class,
'relations' => [
'vacancies',
'resumes'
],
],
];
}
So, how can I do to only writer SaveRelationsBehavior?
The text was updated successfully, but these errors were encountered:
I have a relation (has many) model and when saved common model I would like SaveRelationsBehavior only write new record to db. Now SaveRelationsBehavior every time rewriting relations data. This my behavior in model:
So, how can I do to only writer SaveRelationsBehavior?
The text was updated successfully, but these errors were encountered: