Closed victorteokw closed 6 years ago
It's known as many-to-many
This is called has many ... through ...
amur resource Favorite user:User course:Course
amur resource User name:String courses:[Course]:Favorite.course.user
amur resource Course title:String users:[User]:Favorite.user.course
amur resource Follow follower:User followee:User
amur resource User followers:[User]:Follow.follower.followee followees:[User]:Follow.followee.follower
For example,
Users and Courses.
Million of courses stared by million of users. association table is required.