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

Strict mode for `createCollection` should be removed

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.1, 4.0.0
    • Affects Version/s: None
    • Component/s: None
    • None

      In v3.6.0 we changed erroneous behavior in Db.prototype.createCollection to look up collections by name before sending the command. The helper still supports an optional strict mode, which aside from committing the same mistake (only looking up by name, rather than name + options), offers no additional benefit over the default behavior. It should be removed.

            Assignee:
            eric.adum@mongodb.com Eric Adum (Inactive)
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: