I've had some relational database experience, but I am quite new to NoSQL databases. I am trying to do the following (in Firebase Firestore) I have a collection of user documents and a collection of item documents.
A user has to be able to Like an item. My relational database thinking mind shifts towards a structure where the ID of the user document and the ID of the item are saved in a table, but this wouldn't work in a NoSQL Database.
Without going into the details of the none working solution I came up, I was wondering if anyone here has a solution? I want to be able to get all liked items for a specific user without 100s of round trips to the server.
Edit @Jesús Fuentes: multiple users should be able to like the same item