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 66f5b72 commit daa47aaCopy full SHA for daa47aa
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