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

Refactor all wire protocol methods to reuse command where possible

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.11
    • Affects Version/s: None
    • Component/s: Core
    • None

      All wire protocol methods in 3.2 support, and most method in 2.6 support, are actually issuing "commands" (OP_QUERY messages directed to a *.$cmd namespace). Each of these methods should internally use the command method, in order to deduplicate the options management of these messages, as well as to localize checks for e.g. collation support.

            Assignee:
            matt.broadstone@mongodb.com Matt Broadstone
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: