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

Deprecate flags option and related constants for CreateCollection

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

      1. The flags option for Database::createCollection() is deprecated and will be removed in 2.0. There should be prior art in the API docs for communicating this (e.g. autoIndexId for the same method).
      2. Deprecated in PHPLIB 1.21. Will be removed in 2.0 (see: PHPLIB-1546), which will have its own DOCSP ticket.

      Show
      1. The flags option for Database::createCollection() is deprecated and will be removed in 2.0. There should be prior art in the API docs for communicating this (e.g. autoIndexId for the same method). 2. Deprecated in PHPLIB 1.21. Will be removed in 2.0 (see: PHPLIB-1546 ), which will have its own DOCSP ticket.

      The flags option is no longer documented for create. It only applies to MMAPv1, which was deprecated in MongoDB 4.0 and removed in 4.2. We should deprecate the option and ultimately remove it in 2.0.

            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:
              Resolved: