[DOCS-15729] [ADF] Fix syntax for {background: true} in $merge documentation Created: 09/Nov/22  Updated: 29/Oct/23  Resolved: 09/Dec/22

Status: Closed
Project: Documentation
Component/s: Atlas
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Matthew Javaly Assignee: Kanchana Sekhar
Resolution: Fixed Votes: 0
Labels: cet-captain
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 1 year, 12 weeks, 2 days ago
Story Points: 1

 Description   

In the docs page for $merge, there is a section called "Run $merge in the background": https://www.mongodb.com/docs/atlas/data-federation/supported-unsupported/pipeline/merge/#run--merge-in-the-background

This page has the following syntax:

{
"$merge": {
"atlas":

{ "clusterName": "myTestCluster", "db": "sampleDB", "coll": "mySampleData" }

},

{ "background" : true }

}

However, it should say something like this:

db.<collection>.aggregate(
[

{ $merge: ... }

],

{ "background" : true }

)



 Comments   
Comment by Kanchana Sekhar [ 14/Nov/22 ]

PR: https://github.com/10gen/cloud-docs/pull/3895

Generated at Thu Feb 08 08:13:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.