Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-2511

Add example for changing validator on an existing collection

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Docs

      The Node driver documentation does not appear to have any obvious pointers on how to change the validator for an existing collection.

      I would expect an example (or mention) of using the collMod command.

      For example, as part of the Collections tutorial.

       

            Assignee:
            Unassigned Unassigned
            Reporter:
            stephen.steneker@mongodb.com Stennie Steneker (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: