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

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

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • None
    • Atlas
    • 1
    • CET: Nekomata (15 - 21 Nov 22), CET: Ouroboros (22-28 Nov 22), CET: PolloMalo 29 Nov-5 Dec 22, CET: Qilin (6 - 12 Dec 22)

    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 }

      )

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              44 weeks, 6 days ago