Consider the following:
student many-to-many with semester (pivot1)
lesson many-to-many with class (pivot 2)
Now i want to create the following relation
A student in a semester enrolls in some lessons which are tought in specific classes which is basically a many-to-many relation between the pivots?
Is this achievable through eloquent relations?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community