Thanks for publishing anew. Much easier to work with.

I second that.

I agree.

You may try to do it in a single round trip, but with 2 updates in 1 bulkWrite. Both updates would specify the same filter. The first would $set using the non-aggregation syntax. The second would $push the new element.

2 Likes