|
|
|
@ -1278,7 +1278,8 @@ abstract class BaseActiveRecord extends Model implements ActiveRecordInterface
|
|
|
|
|
* |
|
|
|
|
* The relationship is established by setting the foreign key value(s) in one model |
|
|
|
|
* to be the corresponding primary key value(s) in the other model. |
|
|
|
|
* The model with the foreign key will be saved into database without performing validation. |
|
|
|
|
* The model with the foreign key will be saved into database **without** performing validation |
|
|
|
|
* and **without** events/behaviors. |
|
|
|
|
* |
|
|
|
|
* If the relationship involves a junction table, a new row will be inserted into the |
|
|
|
|
* junction table which contains the primary key values from both models. |
|
|
|
|