-
Notifications
You must be signed in to change notification settings - Fork 34
DOCSP-44644: db/coll access methods #189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DOCSP-44644: db/coll access methods #189
Conversation
✅ Deploy Preview for docs-php-library ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
``$databaseName`` : string | ||
The name of the database containing the collection to select. | ||
|
||
``$collectionName`` : string | ||
The name of the collection to select. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe just semantics:
``$databaseName`` : string | |
The name of the database containing the collection to select. | |
``$collectionName`` : string | |
The name of the collection to select. | |
``$databaseName`` : string | |
The name of the database containing the collection to get. | |
``$collectionName`` : string | |
The name of the collection to get. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll just change this wording to "access". I think get is too general and might not accurately describe what is happening, despite the methods' names
* - readConcern | ||
- :php:`MongoDB\Driver\ReadConcern <class.mongodb-driver-readconcern>` | ||
- The default read concern to use for database operations. Defaults to | ||
the client's read concern. | ||
|
||
* - readPreference | ||
- :php:`MongoDB\Driver\ReadPreference <class.mongodb-driver-readpreference>` | ||
- The default read preference to use for database operations. Defaults to | ||
the client's read preference. | ||
|
||
* - typeMap | ||
- array | ||
- The default type map to use for database operations. Defaults to the | ||
client's type map. | ||
|
||
* - writeConcern | ||
- :php:`MongoDB\Driver\WriteConcern <class.mongodb-driver-writeconcern>` | ||
- The default write concern to use for database operations. Defaults to | ||
the client's write concern. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This indentation is causing the top line to be bolded. This should be updated on the selectDatabase()
page as well.
* - readConcern | |
- :php:`MongoDB\Driver\ReadConcern <class.mongodb-driver-readconcern>` | |
- The default read concern to use for database operations. Defaults to | |
the client's read concern. | |
* - readPreference | |
- :php:`MongoDB\Driver\ReadPreference <class.mongodb-driver-readpreference>` | |
- The default read preference to use for database operations. Defaults to | |
the client's read preference. | |
* - typeMap | |
- array | |
- The default type map to use for database operations. Defaults to the | |
client's type map. | |
* - writeConcern | |
- :php:`MongoDB\Driver\WriteConcern <class.mongodb-driver-writeconcern>` | |
- The default write concern to use for database operations. Defaults to | |
the client's write concern. | |
* - readConcern | |
- :php:`MongoDB\Driver\ReadConcern <class.mongodb-driver-readconcern>` | |
- The default read concern to use for database operations. Defaults to | |
the client's read concern. | |
* - readPreference | |
- :php:`MongoDB\Driver\ReadPreference <class.mongodb-driver-readpreference>` | |
- The default read preference to use for database operations. Defaults to | |
the client's read preference. | |
* - typeMap | |
- array | |
- The default type map to use for database operations. Defaults to the | |
client's type map. | |
* - writeConcern | |
- :php:`MongoDB\Driver\WriteConcern <class.mongodb-driver-writeconcern>` | |
- The default write concern to use for database operations. Defaults to | |
the client's write concern. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a vscode issue, just resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one tweak:
Pull Request Info
PR Reviewing Guidelines
JIRA - https://jira.mongodb.org/browse/DOCSP-44644
Staging:
new method pages:
DB getcoll
client getdb
client getcoll
whats new
Self-Review Checklist