title: Select Condition Query in Room Persistence
body: <p>I am facing issue when I write condition in Select Query.I am not getting desired output.
  I am new in using Room Sqlite.</p>
  
  <p>Here is query in interface:</p>
  
  <pre><code>@Dao
  public interface Chip_deo {
    @Query("SELECT * FROM chip_db WHERE appChipsTemplateDetailID =:appChipsTemplateDetailID")
    List&lt;Chip_db&gt; findChipTemplateDetailID(String appChipsTemplateDetailID);
  </code></pre>
  
  <p>This is where I need to get:</p>
  
  <pre><code>Log.e(TAG, "chipDb.getAppChipsTemplateID(): "+String.valueOf(chipDb.getAppChipsTemplateID()) );
  List&lt;Chip_db&gt; chip_dbs=chip_deo.findChipTemplateDetailID(String.valueOf(chipDb.getAppChipsTemplateID()));
  Log.e(TAG, "getChipsDataFromInput: "+ chip_dbs.size());
  </code></pre>
  
  <p>Output is:</p>
  
  <pre><code>04-20 15:04:24.612 14868-14868/com.xyz E/ChipsFragment: chipDb.getAppChipsTemplateID(): 4
  04-20 15:04:24.614 14868-14868/com.xyz E/ChipsFragment: getChipsDataFromInput: 0
  chipDb.getAppChipsTemplateID(): 1
  04-20 15:04:24.615 14868-14868/com.xyz E/ChipsFragment: getChipsDataFromInput: 0
  chipDb.getAppChipsTemplateID(): 7
  04-20 15:04:24.617 14868-14868/com.xyz E/ChipsFragment: getChipsDataFromInput: 0
  chipDb.getAppChipsTemplateID(): 6
  04-20 15:04:24.618 14868-14868/com.xyz E/ChipsFragment: getChipsDataFromInput: 0
  chipDb.getAppChipsTemplateID(): 5
  04-20 15:04:24.619 14868-14868/com.xyz E/ChipsFragment: getChipsDataFromInput: 0
  chipDb.getAppChipsTemplateID(): 3
  04-20 15:04:24.621 14868-14868/com.xyz E/ChipsFragment: getChipsDataFromInput: 0
  chipDb.getAppChipsTemplateID(): 2
  04-20 15:04:24.622 14868-14868/com.xyz  E/ChipsFragment: getChipsDataFromInput: 0
  </code></pre>
  
  <p>I just need the condition here <strong>ListSize</strong> is getting 0 always i.e query is not right so do help from this problem in room</p>