summaryrefslogtreecommitdiff
path: root/src/mongo/db/ops/write_ops.idl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/ops/write_ops.idl')
-rw-r--r--src/mongo/db/ops/write_ops.idl12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mongo/db/ops/write_ops.idl b/src/mongo/db/ops/write_ops.idl
index ca606f3cfad..e41af05e808 100644
--- a/src/mongo/db/ops/write_ops.idl
+++ b/src/mongo/db/ops/write_ops.idl
@@ -205,6 +205,12 @@ structs:
type: EncryptionInformation
optional: true
unstable: true
+ bypassEmptyTsReplacement:
+ description: "Only applicable for inserts and replacement updates. If set to true,
+ any empty timestamps (Timestamp(0,0)) in 'documents' or 'u' will not
+ be replaced by the current time and instead will be preserved as-is."
+ type: optionalBool
+ unstable: true
UpdateOpEntry:
description: "Parser for the entries in the 'updates' array of an update command."
@@ -539,3 +545,9 @@ commands:
type: EncryptionInformation
optional: true
unstable: true
+ bypassEmptyTsReplacement:
+ description: "Only applicable when 'update' is a replacement update. If set, any
+ empty timestamps (Timestamp(0, 0)) in the update will not be replaced
+ by the current time and instead will be preserved as-is."
+ type: optionalBool
+ unstable: true