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

Deprecate DBCursor#addSpecial

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.9.0
    • Affects Version/s: None
    • Component/s: API
    • None

      With the introduction of the find command in MongoDB 3.2, all the $-prefixed query modifiers have been replaced with explicit command fields. To reduce confusion, the DBCursor#addSpecial method should be deprecated, as there are already per-modifier methods for each of them (e.g. min, max, sort, etc).

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: