Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-15729

[ADF] Fix syntax for {background: true} in $merge documentation

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Atlas
    • Labels:
    • 1

      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 }

      )

            Assignee:
            kanchana.sekhar@mongodb.com Kanchana Sekhar
            Reporter:
            matt.javaly@mongodb.com Matthew Javaly
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              1 year, 14 weeks, 3 days ago