version = 0 name = "Create" documentation = "Create a create operation" [properties] enabled = ["write concern"] disabled = ["collection"] [command] name = "create" parameter = "collectionName" [request.collectionName] type = "string" documentation = "Specifies the name of the collection to create." skip = true constructor = true [request.capped] type = "boolean" documentation = "Specifies if the collection is capped." [request.collation] type = "document" minWireVersionRequired = 5 documentation = "Collation specifies a collation. This option is only valid for server versions 3.4 and above." [request.indexOptionDefaults] type = "document" documentation = "Specifies a default configuration for indexes on the collection." [request.max] type = "int64" documentation = "Specifies the maximum number of documents allowed in a capped collection." [request.pipeline] type = "array" documentation = "Specifies the agggregtion pipeline to be run against the source to create the view." [request.size] type = "int64" documentation = "Specifies the maximum size in bytes for a capped collection." [request.storageEngine] type = "document" documentation = "Specifies the storage engine to use for the index." [request.validator] type = "document" documentation = "Specifies validation rules for the collection." [request.validationAction] type = "string" documentation = "Specifies what should happen if a document being inserted does not pass validation." [request.validationLevel] type = "string" documentation = "Specifies how strictly the server applies validation rules to existing documents in the collection during update operations." [request.viewOn] type = "string" documentation = "Specifies the name of the source collection or view on which the view will be created."