Move duplicated fields into BaseFindAndModifyOperation

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 4.6.0
    • Affects Version/s: None
    • Component/s: Internal
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

       The various FindAnd<Something>Operations share the following fields:

       

          private BsonDocument filter;
          private BsonDocument projection;
          private BsonDocument sort;
          
          private Collation collation;
          private Bson hint;
          private String hintString;
          private BsonValue comment;
      

      These can be DRY'd up into the abstract base class.

              Assignee:
              Ross Lawley
              Reporter:
              Ross Lawley
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: