![]() ![]() If it is a one-to-one relationship, then you want to use the hasOne() method instead. Rule of thumb: Use this method when this model's id is referred to by a column in another model's table, and there is not a one-to-one relationship.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |