In this chapter, we discussed modeling reviews and comments. We modeled comments as chains in order to maintain the semantic relationship between comments and replies. We discussed various queries that can be used to retrieve reviews and aggregation based on ratings. We also discussed the factors to be considered when deciding on modeling data as a chain.
In the next chapter, we will look at how we can model access control and construct queries that take into consideration the access control settings.