diff options
Diffstat (limited to 'src/mongo/s/request_types/sharded_ddl_commands.idl')
-rw-r--r-- | src/mongo/s/request_types/sharded_ddl_commands.idl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mongo/s/request_types/sharded_ddl_commands.idl b/src/mongo/s/request_types/sharded_ddl_commands.idl index 9bd7602a7dc..bd20052c334 100644 --- a/src/mongo/s/request_types/sharded_ddl_commands.idl +++ b/src/mongo/s/request_types/sharded_ddl_commands.idl @@ -154,6 +154,17 @@ structs: type: uuid description: "The expected UUID of the collection." optional: true + implicitlyCreateIndex: + description: "Creates an index on the shard key pattern if the collection is empty." + type: bool + default: true + enforceUniquenessCheck: + description: >- + Controls whether this command verifies that any unique indexes are prefixed by + the shard key pattern if unique is true. If true then it will verify and if + false then it won't. + type: bool + default: true CreateCollectionResponse: description: "Response of the create collection command" |