Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-4192

Reduce operations copying of options

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Unknown Unknown
    • None
    • None
    • Internal

    Description

      Reduce copying of options when creating operations.

      FindOperation can just be passed FindOptions or CountDocumentsOperation can be passed CountOptions.

      It would simplify the OperationsHelper class and reduce the individual Operation's API footprint.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ross@mongodb.com Ross Lawley
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: