Should I use belongsTo or hasOne?
Consider two models A and B A -> relatedTo B is a one-to-one relationship. What is the difference in using (A ->hasOne – B) and (A ->belongsTo – B)? Can I use them interchangeably?
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.