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

Operations should use decorateCommand where needed

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Operations Layer
    • None

      There are several options that should be handled with decorateCommand in collection.aggregate, such as allowDiskUse, maxTimeMS, hint, and comment. It also appears that allowDiskUse and maxTimeMS are being set on command twice so this should be checked for accuracy.

      db.stats should use decorateCommand for scale.

            Assignee:
            Unassigned Unassigned
            Reporter:
            katherine.walker@mongodb.com Katherine Walker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: