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

$set aggregation function is missing

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.0
    • None
    • Builders
    • None
    • Needed

    Description

      I'm trying to do a $set from java, I'd expect to be able to write something like:

       var iterable = collection.aggregate(Arrays.asList(
                      Aggregates.set(fields(computed("foo", "bar)))
       ));
      

      Am I missing something? Could this be added?

      Thanks!

      Attachments

        Activity

          People

            jeff.yemin@mongodb.com Jeffrey Yemin
            matthew.shaylor@gmail.com Matthew Shaylor
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: