Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-2765

Combine arrays when importing with mongoimport

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: mongoimport
    • Labels:

      It might be useful to have different options for merging arrays instead of just overwriting the whole array. Users could specify the field(s) for which they want a special array merge, and select a type of merge. Three possible merge types could be:

      • addToSet
      • append
      • prepend

      (SeeĀ https://developer.mongodb.com/community/forums/t/combine-arrays-when-importing-with-mongoimport/11148)

            Assignee:
            Unassigned Unassigned
            Reporter:
            tim.fogarty@mongodb.com Tim Fogarty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: