Rank 3: Container
Okay my actual like system is kinda energy-intensive regarding api requests. So im going for a fresh start. Ive got a collection movie_liked who gonna store all movie likes. Each document gonna as :
- userID
- movieID
My first problem, is how prevent when liking, not have duplicate like for the same user with the same movie ? There no solution without making a check before (listDocument,....) ?