Refactor CUD operations to subclass ModernizedOperation

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: CRUD
    • 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

      Use Case

      Note: read operations will be refactored in https://jira.mongodb.org/browse/NODE-7082.

      User Experience

      Dependencies

      • n/a

      Risks/Unknowns

      • CUD (CRUD without read) operations are important code paths - ensure no performance regression with the refactor.

      Acceptance Criteria

      Implementation Requirements

      • Migrate the following operations to subclass ModernizedOperation:
        • UpdateOperation (and subclasses)
        • DeleteOperation (and subclasses)

        • ReplaceOneOperation
        • CountOperation
        • ClientBulkWriteOperation
        • FindAndModifyOperation
        • InsertOperation
        • EstimatedDocumentCountOperation

      Testing Requirements

      • Ensure no performance regression.
      • Ensure we have adequate test coverage for these operations and ensure all tests pass.

      Documentation Requirements

      • n/a

      Follow Up Requirements

      • n/a

              Assignee:
              Unassigned
              Reporter:
              Bailey Pearson
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: