title: Delete method for Room Database is not working
body: <p>I have a DAO method like this</p>
  
  <pre class="lang-java prettyprint-override"><code>@Query("DELETE FROM Weather WHERE name = :name")
  Completable deleteDataByName(String name);
  </code></pre>
  
  <p>Weather object</p>
  
  <pre class="lang-java prettyprint-override"><code>@Entity
  public class Weather {
  
      @PrimaryKey(autoGenerate = true)
      public int id;
      public String name;
      public String date;
      public String description;
      public String icon;
      etc.
  </code></pre>
  
  <p>Data is not deleted when I call <code>deleteDataByName</code> method.
  How can I fix it?
  There are 16 Weather objects in the database with the same name
  How can I delete them?
  <a href="https://i.stack.imgur.com/0BAQS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0BAQS.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/xnVJS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xnVJS.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/H4w73.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/H4w73.png" alt="enter image description here"></a></p>