• Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None

      We only support IN when the right hand side is a list property, but we should also support this when the right hand side is a list of constants.
      For example: {{fruit IN

      {'apple', 'orange'}

      }}. This is equivilent to fruit == 'apple' || fruit == 'orange'

      Part of https://github.com/realm/realm-core/issues/2978 and reported by https://github.com/realm/realm-js/issues/2781

            Assignee:
            james.stone@mongodb.com James Stone
            Reporter:
            james.stone@mongodb.com James Stone
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: