18#include "mongo/bson/bsonobj.h"
22 class BulkOperationBuilder;
C++ representation of a "BSON" object – that is, an extended JSON-style object in a binary representa...
Definition bsonobj.h:78
Class for constructing and executing bulk operations against MongoDB via a fluent API.
Definition bulk_operation_builder.h:54
Class for constructing bulk write operations which have an applied filter.
Definition bulk_update_builder.h:31
Class for constructing bulk write operations which have an applied filter and are to be performed as ...
Definition bulk_upsert_builder.h:31
void update(const BSONObj &update)
Enqueues an operation which updates any document matching the selector by applying the supplied updat...
void updateOne(const BSONObj &update)
Enqueues an operation which updates a single document matching the selector by applying the supplied ...
void replaceOne(const BSONObj &replacement)
Enqueues an operation which replaces a single document matching the selector with the supplied replac...
the main MongoDB namespace
Definition bulk_operation_builder.h:24