As a developer I want to use $elemMatch

XMLWordPrintableJSON

    • Type: Story
    • Resolution: Fixed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Query Bar
    • None
    • None
    • None

      Hi,

      I'm trying to use the following projection:
      {_id:0,'fields.key':0, 'fields':{$elemMatch:{'key' :{$eq : 'Agreement Number'}}}}

      This works in the shell, but not in Compass.
      The UI element doesn't validate this projection statement (stays red).

      Is this by design?

            Assignee:
            Unassigned
            Reporter:
            Tomer Yakir
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: