$set not usable in aggregation interface

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.22.0
    • Affects Version/s: 1.20.5
    • Component/s: Aggregation pipeline
    • None
    • Environment:
      MongoDB Compass GUI on Windows 10
    • None
    • None

      Using $set through the agggregation pipeline GUI, even with the most simple specs, returns an error: Expected "[" or AggregationStage but "{" found.

      Example: { $set:

      { "cats" : 1 }

      }

        1. image-2020-03-30-10-38-17-100.png
          11 kB
          Christian Lachnitt

              Assignee:
              Unassigned
              Reporter:
              Christian Lachnitt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: