createCollection() public method
Creates new collection in database associated with this command.s
public boolean createCollection ( $collectionName, array $options = [] ) | ||
---|---|---|
$collectionName | string |
Collection name |
$options | array |
Collection options in format: "name" => "value" |
return | boolean |
Whether operation was successful. |
Please login to continue.