title: Query Realm for objects by IDs provided in a collection
body: <p>I have a <code>List&lt;String&gt; ids</code> and I want all the <code>FooRealmObject</code>s that have the ID field included in the <code>ids</code> list. </p>
  
  <p>I could iterate through the <code>ids</code> list and query objects by ID, but I was hoping there is a one-liner for this, like : </p>
  
  <pre><code>realm.where(Foo.class).in("id", ids).findAll();
  </code></pre>
  
  <p>Any ideas?</p>