Chapter 4. Modeling Bookings and Users
In the previous chapters, you learned how to model flights, reviews, comments, and users. We used a graph to find routes between two cities. However, we limited ourselves to problems that naturally fit into a graph, that is, routing. In this chapter, we will explore how graphs can be used to solve problems that are dominantly solved using RDBMS, for example, bookings.
We will discuss the following topics in this chapter:
- Modeling bookings in an RDBMS
- Modeling bookings in a graph
- Adding bookings to graphs
- Using Cypher to find bookings and journeys