Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-9333

commands that write take a bypassDocumentValidation flag

      Commands that write documents to a collection have been given the ability to bypass document validation:

      • clone
      • cloneCOllection
      • copydb
      • applyOps
      • aggregate when used with $out (available for both command and method)
      • findAndModify (available for both command and method)
      • mapReduce (available for both command and method)
      • insert - (available for only command)
      • update - (available for only command)

      I noticed that this flag is undocumented in copydb, but have not checked the other commands. Here's the jstest which tests these options

            Assignee:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Reporter:
            dan@mongodb.com Daniel Pasette (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              4 years, 30 weeks, 6 days ago