title: How to get data from SQLite database using GreenDao
body: <p>I am using greendao for the first time. and it is going good. I have generated code and entities. I have put the basic data and checked it using sqlite browser and all data is there in specific fields. </p>
  
  <p>Now there are some method in the dao class and I have used the insert method to insert the data. But Now I have to get data so looking how to return the data. 
  here are my some of the questions:</p>
  
  <ol>
  <li><p>How to get data ? </p></li>
  <li><p>Is there any built in method in there ? or I need to make my own and where?</p></li>
  <li><p>I need to know when should I need to close connection and what things I need to take in account while using greendao ?</p></li>
  </ol>
  
  <p>please provide some source code or any demo code on How I can get data. I have no source code to share on , As rest is basic code generated by the dao. And I think it would be childish question , but I have not found any documentation telling about its method it have etc.  Please help me in my problem described above and also clear my confusions. </p>