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 1208508 commit 6993005Copy full SHA for 6993005
docs/reference/method/MongoDBCollection-withOptions.txt
@@ -49,7 +49,7 @@ preference:
49
50
<?php
51
52
- $collection = (new MongoDB\Client)->selectCollect('test', 'restaurants');
+ $collection = (new MongoDB\Client)->selectCollection('test', 'restaurants');
53
54
$newCollection = $sourceCollection->withOptions([
55
'readPreference' => new MongoDB\Driver\ReadPreference(MongoDB\Driver\ReadPreference::RP_SECONDARY),
0 commit comments