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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.