-
Notifications
You must be signed in to change notification settings - Fork 266
DOCSP-36027: Shorten class headings #1229
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
Changes from all commits
a915365
e4f0f02
b78928d
cedba26
6aa9d91
e560f31
6260171
5477cf7
b54410e
0a7caf5
e8c6b29
9849d4e
5a4bf99
eaedfe8
7b2c3de
cff9310
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
============================== | ||
MongoDB\\BulkWriteResult Class | ||
============================== | ||
|
||
Definition | ||
---------- | ||
|
||
.. phpclass:: MongoDB\\BulkWriteResult | ||
|
||
This class contains information about an executed bulk write operation. It | ||
encapsulates a :php:`MongoDB\\Driver\\WriteResult | ||
<class.mongodb-driver-writeresult>` object and is returned from | ||
:phpmethod:`MongoDB\\Collection::bulkWrite()`. | ||
|
||
Methods | ||
------- | ||
|
||
.. toctree:: | ||
:titlesonly: | ||
|
||
getDeletedCount() </reference/method/MongoDBBulkWriteResult-getDeletedCount> | ||
getInsertedCount() </reference/method/MongoDBBulkWriteResult-getInsertedCount> | ||
getInsertedIds() </reference/method/MongoDBBulkWriteResult-getInsertedIds> | ||
getMatchedCount() </reference/method/MongoDBBulkWriteResult-getMatchedCount> | ||
getModifiedCount() </reference/method/MongoDBBulkWriteResult-getModifiedCount> | ||
getUpsertedCount() </reference/method/MongoDBBulkWriteResult-getUpsertedCount> | ||
getUpsertedIds() </reference/method/MongoDBBulkWriteResult-getUpsertedIds> | ||
isAcknowledged() </reference/method/MongoDBBulkWriteResult-isAcknowledged> | ||
|
||
- :phpmethod:`MongoDB\\BulkWriteResult::getDeletedCount()` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just to clarify: every namespace mentioned in the docs should use one instead of two backslashes? If so, I'm happy to fix the backslashes in this PR - or make a new ticket, since it seems like all the namespaces currently have two backslashes and many files would need to be modified There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's always one backslash. The double backslash doesn't exist in PHP namespaces. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The double backslashes were necessary for escaping syntax in RST; however, I think that was only relevant for actual headings and not cases where text is monospace-formatted. I only recently noticed that double backslashes showing up in some monospace-formatted text (as shown in @GromNaN's screenshot above), but I'm not sure if that was recently introduced by some layout changes or a very old mistake that went unnoticed until now. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Tracked by @norareidy in DOCSP-36627 |
||
- :phpmethod:`MongoDB\\BulkWriteResult::getInsertedCount()` | ||
- :phpmethod:`MongoDB\\BulkWriteResult::getInsertedIds()` | ||
- :phpmethod:`MongoDB\\BulkWriteResult::getMatchedCount()` | ||
- :phpmethod:`MongoDB\\BulkWriteResult::getModifiedCount()` | ||
- :phpmethod:`MongoDB\\BulkWriteResult::getUpsertedCount()` | ||
- :phpmethod:`MongoDB\\BulkWriteResult::getUpsertedIds()` | ||
- :phpmethod:`MongoDB\\BulkWriteResult::isAcknowledged()` |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
=========================== | ||
MongoDB\\ChangeStream Class | ||
=========================== | ||
|
||
.. versionadded:: 1.3 | ||
|
||
Definition | ||
---------- | ||
|
||
.. phpclass:: MongoDB\\ChangeStream | ||
|
||
This class extends PHP's :php:`Iterator <manual/en/class.iterator.php>` | ||
interface. An instance of this class is returned by | ||
:phpmethod:`MongoDB\\Client::watch()`, | ||
:phpmethod:`MongoDB\\Database::watch()`, and | ||
:phpmethod:`MongoDB\\Collection::watch()`. | ||
|
||
This class allows for iteration of events in a change stream. It also allows | ||
iteration to automatically resume after certain errors, such as a replica set | ||
failover. | ||
|
||
Methods | ||
------- | ||
|
||
.. toctree:: | ||
:titlesonly: | ||
|
||
current() </reference/method/MongoDBChangeStream-current> | ||
getCursorId() </reference/method/MongoDBChangeStream-getCursorId> | ||
getResumeToken() </reference/method/MongoDBChangeStream-getResumeToken> | ||
key() </reference/method/MongoDBChangeStream-key> | ||
next() </reference/method/MongoDBChangeStream-next> | ||
rewind() </reference/method/MongoDBChangeStream-rewind> | ||
valid() </reference/method/MongoDBChangeStream-valid> | ||
|
||
- :phpmethod:`MongoDB\\ChangeStream::current()` | ||
- :phpmethod:`MongoDB\\ChangeStream::getCursorId()` | ||
- :phpmethod:`MongoDB\\ChangeStream::getResumeToken()` | ||
- :phpmethod:`MongoDB\\ChangeStream::key()` | ||
- :phpmethod:`MongoDB\\ChangeStream::next()` | ||
- :phpmethod:`MongoDB\\ChangeStream::rewind()` | ||
- :phpmethod:`MongoDB\\ChangeStream::valid()` |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
=========================== | ||
MongoDB\\DeleteResult Class | ||
=========================== | ||
|
||
Definition | ||
---------- | ||
|
||
.. phpclass:: MongoDB\\DeleteResult | ||
|
||
This class contains information about an executed delete operation. It | ||
encapsulates a :php:`MongoDB\\Driver\\WriteResult | ||
<class.mongodb-driver-writeresult>` object and is returned from | ||
:phpmethod:`MongoDB\\Collection::deleteMany()` or | ||
:phpmethod:`MongoDB\\Collection::deleteOne()`. | ||
|
||
Methods | ||
------- | ||
|
||
.. toctree:: | ||
:titlesonly: | ||
|
||
getDeletedCount() </reference/method/MongoDBDeleteResult-getDeletedCount> | ||
isAcknowledged() </reference/method/MongoDBDeleteResult-isAcknowledged> | ||
|
||
- :phpmethod:`MongoDB\\DeleteResult::getDeletedCount()` | ||
- :phpmethod:`MongoDB\\DeleteResult::isAcknowledged()` |
Uh oh!
There was an error while loading. Please reload this page.