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