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

Provide MongoDB\Collection::rename() method to rename a collection

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.10.0
    • Affects Version/s: None
    • Component/s: None

      This was suggested as a feature for Doctrine MongoDB ODM, but would have to be placed in the library as ODM does not bring its own Collection class. The Python driver has a Collection::rename method to rename a collection. A similar method could be added to the MongoDB\Collection class to satisfy this use-case.

            Assignee:
            tanli.su@mongodb.com Tanli Su (Inactive)
            Reporter:
            andreas.braun@mongodb.com Andreas Braun
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: