File tree Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ intersphinx = [
9
9
10
10
toc_landing_pages = [
11
11
" /reference/class/MongoDBClient" ,
12
+ " /reference/class/MongoDBClientBulkWrite" ,
12
13
" /reference/class/MongoDBCollection" ,
13
14
" /reference/class/MongoDBDatabase" ,
14
15
" /reference/class/MongoDBGridFSBucket" ,
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ ref: bulkwriteexception-client-result
15
15
content : |
16
16
If a :php:`MongoDB\Driver\Exception\BulkWriteCommandException
17
17
<mongodb-driver-exception-bulkwritecommandexception>` is thrown, users should call
18
- :php:`getWriteErrors() <mongodb-driver-exception- bulkwritecommandexception.getwriteerrors>` and
18
+ :php:`getWriteErrors() <mongodb-driver-bulkwritecommandexception.getwriteerrors>` and
19
19
inspect the information in the returned array to determine the nature of the error.
20
20
21
21
For example, a write operation may have been successfully applied to the
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ content: |
11
11
:php:`MongoDB\Driver\Exception\BulkWriteCommandException
12
12
<mongodb-driver-exception-bulkwritecommandexception>` for errors related to the write
13
13
operation. Users should inspect the value returned by :php:`getWriteErrors()
14
- <mongodb-driver-exception- bulkwritecommandexception.getwriteerrors>` to determine the nature of the
14
+ <mongodb-driver-bulkwritecommandexception.getwriteerrors>` to determine the nature of the
15
15
error.
16
16
---
17
17
ref : error-driver-invalidargumentexception
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ Collection Bulk Write
58
58
---------------------
59
59
60
60
To run a bulk write operation, pass an array of write operations to the
61
- `` MongoDB\Collection::bulkWrite()` ` method. Use the following syntax to
61
+ :phpmethod:` MongoDB\Collection::bulkWrite()` method. Use the following syntax to
62
62
specify the write operations:
63
63
64
64
.. code-block:: php
@@ -230,10 +230,10 @@ Client Bulk Write
230
230
231
231
When using {+library-short+} v2.1 and connecting to a deployment
232
232
running {+mdb-server+} 8.0 or later, you can use the
233
- `` MongoDB\Client::bulkWrite()` ` method to write to multiple databases
233
+ :phpmethod:` MongoDB\Client::bulkWrite()` method to write to multiple databases
234
234
and collections in the same cluster. This method performs all write
235
235
operations in a single call. To learn more about this feature, see the
236
- :manual:`Mongo.bulkWrite() <reference/method/Mongo.bulkWrite/>`
236
+ :manual:`Mongo.bulkWrite() </ reference/method/Mongo.bulkWrite/>`
237
237
reference in the {+mdb-server+} manual.
238
238
239
239
First, instantiate a ``MongoDB\ClientBulkWrite`` instance that
You can’t perform that action at this time.
0 commit comments