Combine arrays when importing with mongoimport

XMLWordPrintableJSON

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

      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
              Reporter:
              Tim Fogarty
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: