title: Check two fields with Realm database
body: <p>How can I create an <code>and</code> operation with Realm?</p>
  
  <p>Example I have an object with day and month and I want to check both those fields values.</p>
  
  <p>Something like :</p>
  
  <pre><code> RealmResults&lt;Event&gt; toEdit = realm.where(Event.class)
          .equalTo("day", day)
          .and
          .equalTo("month", month)
          .findAll();
  </code></pre>
  
  <p>But as far as I can tell there is no <code>and</code> operator.</p>
  
  <p>Thank you</p>