|
MongoDB C++ Driver
legacy-1.1.2
|
Class for constructing bulk write operations which have an applied filter. More...
#include <bulk_update_builder.h>
Public Member Functions | |
| void | updateOne (const BSONObj &update) |
| Enqueues an operation which updates a single document matching the selector by applying the supplied update document. More... | |
| void | update (const BSONObj &update) |
| Enqueues an operation which updates any document matching the selector by applying the supplied update document. More... | |
| void | replaceOne (const BSONObj &replacement) |
| Enqueues an operation which replaces a single document matching the selector with the supplied replacement. | |
| void | remove () |
| Enqueues an operation which removes any document matching the selector. | |
| void | removeOne () |
| Enqueues an operation which removes a single document matching the selector. | |
| BulkUpsertBuilder | upsert () |
| Specifies that this write operation will be an upsert. More... | |
Class for constructing bulk write operations which have an applied filter.
Not to be instantiated directly. Comes into being via the find() method on BulkOperationBuilder.
| void mongo::BulkUpdateBuilder::update | ( | const BSONObj & | update | ) |
Enqueues an operation which updates any document matching the selector by applying the supplied update document.
| update | The update to apply to matching documents. |
| void mongo::BulkUpdateBuilder::updateOne | ( | const BSONObj & | update | ) |
Enqueues an operation which updates a single document matching the selector by applying the supplied update document.
| update | The update to apply to matching documents. |
| BulkUpsertBuilder mongo::BulkUpdateBuilder::upsert | ( | ) |
Specifies that this write operation will be an upsert.
1.8.10