Add documentKey property to ChangeStreamDocument

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.6.0
    • Affects Version/s: None
    • Component/s: Query Operations
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Change stream documents contain a documentKey field, e.g.:

      { 
        "_id" : { "clusterTime" : { "ts" : { "$timestamp" : { "t" : 1507742913, "i" : 3 } } }, "uuid" : { "$binary" : "FU854jJaEhGqQ+hPGNe9uA==", "$type" : "03" }, "documentKey" : { "_id" : 0 } }, 
        "operationType" : "insert",
        "fullDocument" : { "_id" : 0, "str" : "0" }, "ns" : { "db" : "test", "coll" : "changes" },
        "documentKey" : { "_id" : 0 } }
      

      But there is no corresponding documentKey property in ChangeStreamDocument.

              Assignee:
              Jeffrey Yemin
              Reporter:
              Jeffrey Yemin
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: