hashimabbasjaffery liked this thread
Your mentor is correct belong to is not one to many
One category HasMany products -> has many relation
Many products BelongTo category -> the reverse of has many relation ( belong to)
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community