title: What is the best way to get specific entity from room database
body: <p>I was doing a project a while back where the user could choose a route/course and see its information on a separate page but got a problem regarding the extraction of the information of a specific entity stored in my Room database. I didn't end up finding the solution for the problem so I just changed my approach altogether and passed the necessary information through the intent that starts the activity instead of just getting the information by searching the database.</p>
  
  <p>I've already tried to ask about the problem here <a href="https://stackoverflow.com/questions/56918707/how-to-get-a-specific-entity-in-room">How to get a specific Entity in Room</a> but no one seems to see where the problem is so I'm changing the question. </p>
  
  <p>What I want to know now is what is the best way to get a specific entity from Room database in Kotlin.</p>