Skip to content

Any reason for not having Relationships.oneToMany? #220

Answered by eveningkid
borsemayur2 asked this question in Q&A
Discussion options

You must be logged in to vote

That's true, oneToOne existed because it was simpler than calling belongsTo twice.

There was however an inconsistency, you're right. But it's now fixed!

As belongsTo is now used differently (see one-to-many), this should solve the problem.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by eveningkid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants