Learn the "why" behind slow queries and how to fix them in our 2-Part Webinar.
Register now >
Docs Menu
Docs Home
/ /

MongoDB\ClientBulkWrite Class

New in version 2.1.

MongoDB\ClientBulkWrite

This class enables you to assemble a bulk write command that you pass to MongoDB\Client::bulkWrite() to perform write operations across multiple namespaces.

ClientBulkWrite is a builder class to create a BulkWriteCommand instance that the library sends to the server.

Back

watch()