Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-2440

Remove deprecated Query constructor options

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • 2.0
    • Affects Version/s: None
    • Component/s: None
    • PHP Drivers

      The following options for MongoDB\Driver\Query::__construct() are deprecated and can be removed:

      • partial is a deprecated alias for allowPartialResults
      • maxScan was deprecated in server 4.0 (SERVER-32953) and removed in 4.2 (SERVER-35044)
      • modifiers is used for legacy query modifiers, which are all deprecated.
      • oplogReplay has been deprecated since PHPC 1.8 (PHPC-1525). It is deprecated in the CRUD spec and ignored by server 4.4+ (SERVER-36186)
      • snapshot was deprecated in server 3.6 (SERVER-32173) and removed in 4.0 (SERVER-32174)

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: