Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-1661

Create generic builder for update operators

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.1.0
    • None
    • Write Operations
    • None
    • Fully Compatible

    Description

      Related to JAVA-1660. The update builder will support a syntax like:

      collection.updateOne(filter, inc("x", 1));
      collection.updateOne(filter, updates(set("y", 4)), inc("x", 1));

      Attachments

        Activity

          People

            jeff.yemin@mongodb.com Jeffrey Yemin
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: