diff options
author | Kyle Suarez <kyle.suarez@mongodb.com> | 2018-08-30 10:45:29 -0400 |
---|---|---|
committer | Kyle Suarez <kyle.suarez@mongodb.com> | 2018-08-30 10:45:29 -0400 |
commit | b46de3f6c06fab5cf9b7ea0f4176b32ff544a4bf (patch) | |
tree | e12b893856d11b3f9833be20eb8c4f9de31dd35d /src/mongo/transport | |
parent | 8956deeef7bd4013d3de4092374fb9a2c329e2a5 (diff) | |
download | mongo-b46de3f6c06fab5cf9b7ea0f4176b32ff544a4bf.tar.gz |
SERVER-36100 generate _id for $out uniqueKey if not present
If the _id field is part of the $out "uniqueKey" but is not present in
the document at the time of write, the $out stage will generate it
automatically.
We won't generate an _id if if isn't part of the "uniqueKey" so that
DocumentSourceOutInPlaceReplace won't use it as part of the update.
Diffstat (limited to 'src/mongo/transport')
0 files changed, 0 insertions, 0 deletions