Deprecate flags option and related constants for CreateCollection

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Unknown
    • 1.21.0
    • Affects Version/s: None
    • Component/s: None
    • 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.
    • None
    • None
    • None
    • None
    • None
    • None

      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:
              Jeremy Mikola
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: