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

mongoexport option for converting json-unfriendly / bad field data into "null"

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: mongoexport
    • Labels:
      None
    • Not Needed

      Would be nice to add a mongoexport option which would change the behavior of mongoexport on hitting a non-exportable field from "abort entire export" to "make the field null and move on". To better detect this, maybe instead of null a special object "Invalid()" could be used?

      One proposed option name - "--replaceInvalid"

            Assignee:
            backlog-server-platform DO NOT USE - Backlog - Platform Team
            Reporter:
            greg_10gen Greg Studer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: