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

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.10.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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 (Inactive)
            Reporter:
            Andreas Braun
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: