Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-199

Update.Rename should support renaming more than one element and should be combinable with other update operations

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.1
    • 1.0
    • None
    • None

    Description

      For example, both of the following should be valid:

      var update = Update.Rename("x", "xx").Rename("y", "yy");
      var update = Update.Rename("x", "xx").Set("y", 2);

      Attachments

        Activity

          People

            sridhar Sridhar Nanjundeswaran
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: