summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/create.idl
diff options
context:
space:
mode:
authorJonathan Reams <jbreams@mongodb.com>2020-02-10 10:11:25 +0100
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-02-10 13:08:24 +0000
commit43c2b5b172cf6783319944c0d6931478db01eefa (patch)
tree16da88e0a58c73bdfd3f721c8376223925e0e07f /src/mongo/db/commands/create.idl
parent4ae67479e73174a75f2d7141360edb8a8ef90be8 (diff)
downloadmongo-43c2b5b172cf6783319944c0d6931478db01eefa.tar.gz
SERVER-45805 Add recordPreImages flag to collMod and create commands
create mode 100644 jstests/noPassthrough/record_preimage_startup_validation.js
Diffstat (limited to 'src/mongo/db/commands/create.idl')
-rw-r--r--src/mongo/db/commands/create.idl5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/commands/create.idl b/src/mongo/db/commands/create.idl
index 09f426e5dc7..a413db7a150 100644
--- a/src/mongo/db/commands/create.idl
+++ b/src/mongo/db/commands/create.idl
@@ -107,6 +107,11 @@ commands:
description: "A document that expresses the write concern for the operation."
type: object
optional: true
+ recordPreImages:
+ description: "Sets whether updates/deletes should store the pre-image of the
+ document in the oplog"
+ type: safeBool
+ optional: true
temp:
description: "DEPRECATED"
type: safeBool