Uploaded image for project: 'PHP Driver: Library'
  1. PHP Driver: Library
  2. PHPLIB-1511

Remove deprecated Find options

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 2.0.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • PHP Drivers
    • Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      Any mention of these options (e.g. in API docs) should be removed

      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      N/A

      3. Which versions of the driver/connector does this apply to?
      2.0+

      Show
      1. What would you like to communicate to the user about this feature? Any mention of these options (e.g. in API docs) should be removed 2. Would you like the user to see examples of the syntax and/or executable code and its output? N/A 3. Which versions of the driver/connector does this apply to? 2.0+

      Just as PHPC-2440 will remove deprecated options for the Query constructor, we can remove the following deprecated Find options:

      • maxScan
      • modifiers
      • oplogReplay
      • snapshot

      As of 1.19.0, PHPLIB currently raises E_USER_DEPRECATED notices for maxScan and snapshot. If necessary, we can consider introducing additional notices for the other options in a 1.x release preceding 2.0.

            Assignee:
            andreas.braun@mongodb.com Andreas Braun
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: