title: How to query List<Int> on Realm Swift
body: <p>How can I filter out the RealmFilter.objectIds that has a given Int?</p>
  
  <pre><code>func delete(ids: [Int]) {
     let filterResultsToDelete = realm.objects(CRMRealmFilterResult.self).filter("ANY objectIds IN %@",ids)
  //Crashes
  }
  
  
  class RealmFilterResult : Object {
      @objc dynamic var filterId: Int = 0
      let objectIds = List&lt;Int&gt;()
  
      override static func primaryKey() -&gt; String {
          return "filterId"
      }
    }
  </code></pre>