summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source_merge_modes.idl
diff options
context:
space:
mode:
authorAnton Korshunov <anton.korshunov@mongodb.com>2019-05-15 17:16:28 +0100
committerAnton Korshunov <anton.korshunov@mongodb.com>2019-05-17 21:37:17 +0100
commit57c127b9040a1203a86214cf0bf896aa069afbbe (patch)
treef0c3440747c76d7889c043210b0179119cf6bdad /src/mongo/db/pipeline/document_source_merge_modes.idl
parent1d06a0bee917616f3c6c10bb10fa73cd7f1de9bd (diff)
downloadmongo-57c127b9040a1203a86214cf0bf896aa069afbbe.tar.gz
SERVER-40439 Add merge support for whenNotMatched: discard
Diffstat (limited to 'src/mongo/db/pipeline/document_source_merge_modes.idl')
-rw-r--r--src/mongo/db/pipeline/document_source_merge_modes.idl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/document_source_merge_modes.idl b/src/mongo/db/pipeline/document_source_merge_modes.idl
index 5edfe42417a..94182259581 100644
--- a/src/mongo/db/pipeline/document_source_merge_modes.idl
+++ b/src/mongo/db/pipeline/document_source_merge_modes.idl
@@ -55,5 +55,6 @@ enums:
description: "Possible merge mode values for $merge's 'whenNotMatched'. field"
type: string
values:
+ kDiscard: "discard"
kFail: "fail"
kInsert: "insert"