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 f41e6cd commit 6b5b2f2Copy full SHA for 6b5b2f2
docs/reference/method/MongoDBDatabase-selectCollection.txt
@@ -57,7 +57,7 @@ The following example selects the ``users`` collection in the ``test`` database:
57
58
$db = (new MongoDB\Client)->test;
59
60
- $collection = $db->selectCollection('test', 'users');
+ $collection = $db->selectCollection('users');
61
62
The following example selects the ``users`` collection in the ``test``
63
database with a custom read preference:
0 commit comments