mongo-go-driver - PR #2460: Extend `addCommandFields` to all Collection & IndexView APIs

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      FGasper has created PR #2460: Extend `addCommandFields` to all Collection & IndexView APIs in mongo-go-driver

      Issue Text:
      GODRIVER-4000

        1. Summary

      GODRIVER-3668 added an `addCommandFields` mechanism to several mongo.Collection methods. This extends that pattern so that all Collection and IndexView methods can pass arbitrary top-level parameters in server requests.

      The Aggregate and Watch commands are omitted here because these already allow arbitrary top-level parameters via SetCustom.

      IMPORTANT: This facility is meant for internal MongoDB use and is not supported in customer applications.

        1. Background & Motivation

      See GODRIVER-4000.

            Assignee:
            Unassigned
            Reporter:
            TPM Jira Automations Bot
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: