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

Deprecate FLAGS, CURSOR_FLAGS, and addCursorFlag

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Cursors
    • Labels:
    • Not Needed

      Use Case

      As a Node.js driver engineer
      I want to remove OP_QUERY concepts from the cursor API
      So that we clearly remove support for up-converting legacy settings

      User Impact

      • Deprecation warning in documentation

      Dependencies

      • None

      Unknowns

      • Is there any functionality that isn't easily controllable via FindOptions orĀ 
        addQueryModifier? If yes, ensure we introduce options or modifiers needed.

      Acceptance Criteria

      Implementation Requirements

      • Add deprecation tags to FLAGS, CURSOR_FLAGS, and addCursorFlag
      • Add recommended migration for each option/flag

      Testing Requirements

      • Type test for deprecation

      Documentation Requirements

      • No additional.

      Follow Up Requirements

      • File removal ticket in Node v7

            Assignee:
            Unassigned Unassigned
            Reporter:
            neal.beeken@mongodb.com Neal Beeken
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: