Query with multiple values: `in` operator

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Local

      I am trying to build a query that will return objects with given set of values of _id property.
      In Java i use in opertaion and it works good.
      In Kotlin i try to use this query:

      realm.query<ModelBookmark>("_id in $0", ids)

      But it crashes with message that type not supported.
      Right now i generate query that looks like "_id == "1" or _id == "2" ..." and it works...
      Version of realm-kotlin is 1.1.0-SNAPSHOT (in 1.0.1 ByteArray still not works).

            Assignee:
            Claus Rørbech (Inactive)
            Reporter:
            Unito Sync Bot
            Archiver:
            Marc Greenfield

              Created:
              Updated:
              Resolved:
              Archived: