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

Strict mode for `createCollection` should be removed

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.1, 4.0.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              eric.adum Eric Adum
              Reporter:
              matt.broadstone Matt Broadstone
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: