Skip to content

Commit d14ca58

Browse files
committed
JT PR fixes 2
1 parent 5cbb508 commit d14ca58

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

source/reference/class/MongoDBClientBulkWrite.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ Definition
99

1010
.. phpclass:: MongoDB\ClientBulkWrite
1111

12-
This class enables you to assemble a bulk write command to pass to
13-
:phpmethod:`MongoDB\Client::bulkWrite()` to perform write operations
14-
across multiple namespaces.
12+
This class enables you to assemble a bulk write command that you
13+
pass to :phpmethod:`MongoDB\Client::bulkWrite()` to perform write
14+
operations across multiple namespaces.
1515

16-
This class is a builder to instantiate a :php:`BulkWriteCommand
16+
``ClientBulkWrite`` is a builder class to create a :php:`BulkWriteCommand
1717
<mongodb-driver-bulkwritecommand>` instance that the library sends to the
1818
server.
1919

source/reference/method/MongoDBClient-bulkWrite.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ Parameters
3737

3838
We recommend using the ``ClientBulkWrite`` builder class and
3939
methods to specify write operations in a bulk write command instead
40-
of using the ``BulkWriteCommand`` class.
40+
of using the ``BulkWriteCommand`` class. ``ClientBulkWrite``
41+
provides a fluent API with methods similar to CRUD methods from the
42+
:phpclass:`MongoDB\Collection` class.
4143

4244
Represents the assembled bulk write command or builder.
4345
:phpmethod:`MongoDB\Client::bulkWrite()` supports

source/reference/method/MongoDBClientBulkWrite-withCollection.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ Definition
2626
Collection $collection,
2727
): self
2828

29-
3029
You cannot mix ``Collection`` instances associated with different
31-
``Manager`` objects because the library sends the client bulk
32-
write operation as a command to a single server.
30+
``Manager`` objects when calling this method on a ``ClientBulkWrite``
31+
instance. This is because the library sends the completed
32+
``BulkWriteCommand`` to a single server.
3333

3434
Parameters
3535
----------

0 commit comments

Comments
 (0)