We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e998cd0 commit ca095ffCopy full SHA for ca095ff
src/Jenssegers/Mongodb/Schema/Blueprint.php
@@ -188,14 +188,14 @@ public function expire($columns, $seconds)
188
/**
189
* @inheritdoc
190
*/
191
- public function create()
+ public function create($options = [])
192
{
193
$collection = $this->collection->getCollectionName();
194
195
$db = $this->connection->getMongoDB();
196
197
// Ensure the collection is created.
198
- $db->createCollection($collection);
+ $db->createCollection($collection, $options);
199
}
200
201
0 commit comments