-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Query Operations
-
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.
- is duplicated by
-
JAVA-2646 ChangeStreamDocument missing _id information on delete operation
- Closed