MongoDatabaseCreateCollection Method |
Name | Description | |
---|---|---|
CreateCollection(String) |
Creates a collection. MongoDB creates collections automatically when they are first used, so
this command is mainly here for frameworks.
| |
CreateCollection(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.
|