title: How to delete object from Realm Database Android?
body: <p>I want remove all message object from realm those are equal to userid  </p>
  
  <pre><code>RealmQuery&lt;Message&gt; rowQuery = realm.where(Message.class).equalTo(Message.USER_ID, userId);
  realm.beginTransaction();
  //TODO : here I want to remove all messages where userId is equal to "9789273498708475"
  realm.commitTransaction();
  </code></pre>