mongodb\Migration createCollection()

createCollection() public method

Creates new collection with the specified options.

public void createCollection ( $collection, $options = [] )
$collection string|array

Name of the collection

$options array

Collection options in format: "name" => "value"

doc_Yii
2016-10-30 17:08:49
Comments
Leave a Comment

Please login to continue.