Prohibit creating a view with $changeStream

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • Query 2017-10-23
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      You should not be able to create a view with $changeStream.

      replSet:PRIMARY> db.createView("view", "coll", [{$changeStream: {}}])
      {
              "ok" : 1,
              "operationTime" : Timestamp(1506631823, 2),
              "$clusterTime" : {
                      "clusterTime" : Timestamp(1506631823, 2),
                      "signature" : {
                              "hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="),
                              "keyId" : NumberLong(0)
                      }
              }
      }
      

              Assignee:
              Bernard Gorman
              Reporter:
              Kyle Suarez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: