-
Type:
Bug
-
Resolution: Works as Designed
-
Priority:
Major - P3
-
None
-
Affects Version/s: 7.0.3
-
Component/s: None
-
None
-
Storage Execution
-
ALL
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Seen on 7.0.2-66-g6c4e1e8
db.aggregate( [{ $documents: [ { mytimefield: new Date() } ] }, { $out: { db: "mydb", coll: "mycoll", timeseries: { timeField: "mytimefield" } } }, ]);
db.getSiblingDB("mydb").mycoll.find()
^^ The above prints a single document with just the `mytimefield` field, no `_id`.
UPDATE: Apparently the _id on inserts comes from the driver.