MergeStageWhenNotMatched Enumeration |
Namespace: MongoDB.Driver
Member name | Value | Description | |
---|---|---|---|
Insert | 0 | Insert the document into the output collection. | |
Discard | 1 | Discard the document; i.e. $merge does not insert the document into the output collection. | |
Fail | 2 | Stop and fail the aggregation operation. Any changes to the output collection from previous documents are not reverted. |
Copyright © 2010–present MongoDB Inc.