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

Realm query objects by array of ids

      Questions: I want to query by a list of ids but I get this error when I try to query by this:

      byIds(ids: string[]) {
          return   this._realm
              .objects(Provider)
              .filtered('id IN $0',ids)
        }
      

      The expression following 'IN' must be a keypath to a list

      Version of Realm and Tooling

      • Realm JS SDK Version: 4.0.0-beta.0
      • Node or React Native: 0.61.5
      • Client OS & Version: Android
      • Which debugger for React Native: None

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

              Created:
              Updated:
              Resolved: