Additionally, Eloquent assumes that the foreign key should have a value matching the primary key column of the parent. In other words, Eloquent will look for the value of the user's id column in the user_id column of the Phone record. If you would like the relationship to use a primary key value other than id or your model's
Additionally, Eloquent assumes that the foreign key should have a value
matching the primary key column of the parent. In other words, Eloquent
will look for the value of the user's id
column in the user_id
column of the Phone
record. If you would like the relationship to use a primary key value other than id
or your model's
Title | Amount | Description |
---|---|---|
Admission fee | Rs. 5000.00 | One time at admission time |
Serial No | Course Title | Metric Marks (%) | Aggregate Marks (%) ( Phy + Che + Bio ) |
---|