view definitions should *not* allow $out as a stage

XMLWordPrintableJSON

    • Minor Change
    • ALL
    • v4.0
    • Query 2018-06-18
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We seem to allow $out stage as part of view definition.

      This is problematic for several reasons. One is that trying to append any stages (i.e. doing anything other than a simple find() on this view) will fail. The other is that running find on this view will blow away whatever is in the collection named in "$out" which is not an obvious outcome and unlikely to have a valid use case for it.

            Assignee:
            Sam Mercier
            Reporter:
            Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: