Options for createCollection().
createCollection()
Optional
Number of shards. Defaults to the server's default (1) if omitted.
Options for
createCollection().