summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/process_interface/common_mongod_process_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/pipeline/process_interface/common_mongod_process_interface.h')
-rw-r--r--src/mongo/db/pipeline/process_interface/common_mongod_process_interface.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/mongo/db/pipeline/process_interface/common_mongod_process_interface.h b/src/mongo/db/pipeline/process_interface/common_mongod_process_interface.h
index 4706c259864..185eca653cf 100644
--- a/src/mongo/db/pipeline/process_interface/common_mongod_process_interface.h
+++ b/src/mongo/db/pipeline/process_interface/common_mongod_process_interface.h
@@ -112,18 +112,19 @@ protected:
/**
* Builds an ordered insert op on namespace 'nss' and documents to be written 'objs'.
*/
- write_ops::Insert buildInsertOp(const NamespaceString& nss,
- std::vector<BSONObj>&& objs,
- bool bypassDocValidation);
+ write_ops::InsertCommandRequest buildInsertOp(const NamespaceString& nss,
+ std::vector<BSONObj>&& objs,
+ bool bypassDocValidation);
/**
* Builds an ordered update op on namespace 'nss' with update entries contained in 'batch'.
*/
- write_ops::Update buildUpdateOp(const boost::intrusive_ptr<ExpressionContext>& expCtx,
- const NamespaceString& nss,
- BatchedObjects&& batch,
- UpsertType upsert,
- bool multi);
+ write_ops::UpdateCommandRequest buildUpdateOp(
+ const boost::intrusive_ptr<ExpressionContext>& expCtx,
+ const NamespaceString& nss,
+ BatchedObjects&& batch,
+ UpsertType upsert,
+ bool multi);
BSONObj _reportCurrentOpForClient(OperationContext* opCtx,
Client* client,