Creates a collection
public createCollection ( string $name, array $options ) : MongoCollection | ||
$name | string | The name of the collection. |
$options | array | |
return | MongoCollection | Returns a collection object representing the new collection. |