Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-2181

As a developer I want to use $elemMatch

    • Type: Icon: Story Story
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Query Bar
    • 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 Unassigned
            Reporter:
            tomer.yakir@mongodb.com Tomer Yakir
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: