Click or drag to resize
MongoDatabaseCreateCollection Method
Overload List
  NameDescription
Public methodCreateCollection(String)
Creates a collection. MongoDB creates collections automatically when they are first used, so this command is mainly here for frameworks.
Public methodCreateCollection(String, IMongoCollectionOptions)
Creates a collection. MongoDB creates collections automatically when they are first used, so you only need to call this method if you want to provide non-default options.
Top
See Also