Uploaded image for project: 'Realm JavaScript SDK'
  1. Realm JavaScript SDK
  2. RJS-2407

Embedded list query problem

      How frequently does the bug occur?

      Always

      Description

      Hello, I want to query an embedded list from this schema

      I am trying this query
      " locationType = 'city' and data.mvFdwLocationCode = 'tr-56' "

      this query returns all of the citites as you can see from the screen shot but I have only one city with this location code.
      Am I doing something wrong or isn't is possible to query embedded list?.

      Also this is the city schema

      Thank you.

      Stacktrace & log output

      No response

      Can you reproduce the bug?

      Always

      Reproduction Steps

      {{const queryString = }}locationType = 'city' and data.mvFdwLocationParentCode == 'tr-63'`;
      const data = realm.objects('generalLocation').filtered(queryString);`

      Version

      11.8.0

      What services are you using?

      Local Database only

      Are you using encryption?

      No

      Platform OS and version(s)

      Mac Monterey 12.5.1

      Build environment

      Which debugger for React Native: ..
      none

      Cocoapods version

      cocoapods-1.11.3

            Assignee:
            Unassigned Unassigned
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: