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

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

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              andreas.braun Andreas Braun
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: