Details
-
Bug
-
Resolution: Works as Designed
-
Major - P3
-
None
-
7.0.3
-
None
-
None
-
Storage Execution
-
ALL
Description
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.