Uploaded image for project: 'Realm Dart SDK'
  1. Realm Dart SDK
  2. RDART-666

[Bug]: Query method with IN predicate returns empty results

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None

      What happened?

      I try build query with IN predicate but return empty results.

      Repro steps

      Build a List String with the values to be filtered.
      Pass a List with join(",") to get concatenated values as a single string.
      Build a predicate with IN using query method and pass as parameter list

      Version

      realm 0.8.0+rc -> flutter 3.3.10

      What Realm SDK flavor are you using?

      Local Database only

      What type of application is this?

      Flutter Application

      Client OS and version

      Windows 11

      Code snippets

      Model:

      Implementation:

      Alternative (that works):

      Stacktrace of the exception/crash you're getting

      No response

      Relevant log output

      No response

            Assignee:
            desislava.stefanova@mongodb.com Desislava Stefanova (Inactive)
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: