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

Correct example using collMod to add/update validation for an existing collection

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • None
    • manual
    • None

    Description

      The current example on the collMod page for Add Document Validation to an Existing Collection is showing how to create a new collection with JSON Schema validation (rather than modifying an existing collection using collMod).

      Attachments

        Activity

          People

            stephen.steneker@mongodb.com Stennie Steneker (Inactive)
            stephen.steneker@mongodb.com Stennie Steneker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              5 years, 43 weeks, 2 days ago