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

Support queries for arrays of primitives

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None

      Our query language supports arrays of primitive types. Moreover, it is possible to query linklist e.g., `person.dogs.objects('name = "Fido"')`. However, it is not possible to query an array of primitive types.

      Adding common JavaScript array methods to arrays of primitive types can help users to query. In particular methods like `filter()`, `reduce()`, `find()`, and `map()` will be useful.

            Assignee:
            james.stone@mongodb.com James Stone
            Reporter:
            brian.munkholm@mongodb.com Brian Munkholm (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: