18#include "mongo/bson/bsonobj.h"
19#include "mongo/client/bulk_upsert_builder.h"
23 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
void removeOne()
Enqueues an operation which removes a single document matching the selector.
BulkUpsertBuilder upsert()
Specifies that this write operation will be an upsert.
void updateOne(const BSONObj &update)
Enqueues an operation which updates a single document matching the selector by applying the supplied ...
void update(const BSONObj &update)
Enqueues an operation which updates any document matching the selector by applying the supplied updat...
void replaceOne(const BSONObj &replacement)
Enqueues an operation which replaces a single document matching the selector with the supplied replac...
void remove()
Enqueues an operation which removes any document matching the selector.
Class for constructing bulk write operations which have an applied filter and are to be performed as ...
Definition bulk_upsert_builder.h:31
the main MongoDB namespace
Definition bulk_operation_builder.h:24