File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -25,10 +25,11 @@ perform **bulk operations**. Bulk operations reduce the number
25
25
of calls to the server by performing multiple write operations
26
26
in a single method.
27
27
28
- You can use bulk operations to perform multiple write operations on
29
- a collection. You can also call bulk operations on your client,
30
- which allows you to perform bulk writes across multiple namespaces.
31
- In MongoDB, a namespace consists of the database name and the collection
28
+ The ``Collection`` and ``MongoClient`` classes both provide a ``bulk_write()``
29
+ method. When calling ``bulk_write()`` on a ``Collection`` instance, you can
30
+ perform multiple write operations on a single collection. When calling
31
+ ``bulk_write()`` on a ``MongoClient`` instance, you can perform bulk writes across
32
+ multiple namespaces. In MongoDB, a namespace consists of the database name and the collection
32
33
name in the format ``<database>.<collection>``.
33
34
34
35
.. important::
You can’t perform that action at this time.
0 commit comments