Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Categories Atlas
Created by Guest
Created on Sep 6, 2021

Transactions support for Merge operation in aggregation pipeline

Hi Team, can we consider supporting the transactions when we use $merge stage in mongodb aggregation pipeline? https://docs.mongodb.com/manual/reference/operator/aggregation/merge/#restrictions We have a requirement where we need to use the merge stage in pipeline and we would like to ensure automaticity in the transaction. The aggregation pipeline we are building can merge multiple documents into the same collection and we would like to have either all or none by using transactions and the current merge operation cant support it. thank you
  • Attach files