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"

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Gone away
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: mongoexport
    • Labels:
      None
    • Documentation Changes:
      Not Needed

      Description

      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"

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: