Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-4698

$merge "on" value says "string" but it could be string or array of strings

    • Not Needed

      Compass:

      /**

      • into: The target collection.
      • on: Fields to identify.
      • let: Defined variables.
      • whenMatched: Action for matching docs.
      • whenNotMatched: Action for non-matching docs.
        */ { into: 'negativeAccounts', on: 'string', let: 'specification(s)', whenMatched: 'string', whenNotMatched: 'string' }

      Docs:

      into: <collection> or { db: <db>, coll: <collection> },
      on: <identifier field> or [ <identifier field1>, ...], // Optional
      let: <variables>, // Optional
      whenMatched: <replace|keepExisting|merge|fail|pipeline>, // Optional
      whenNotMatched: <insert|discard|fail> // Optional
      } }

            Assignee:
            Unassigned Unassigned
            Reporter:
            ethan.steininger@mongodb.com Ethan Steininger (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: