Android Room: Entity Relationships
When using a database, the data we query may be associated with multiple tables. Android Room allows us to define relationships between objects. When querying data, Android Room will automatically read it together with the relevant data.