Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-111

Support $out aggregation pipeline operator

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: None
    • Labels:
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      JAVA-912 Done 2.12.0, 3.0.0
      PERL-258 Done 0.704.0.0
      RUBY-669 Done 1.10.0
      CSHARP-800 Done 1.9
      PYTHON-555 Done 2.7
      NODE-78 Done 1.4
      PHP-944 Done 1.5.0, 1.5.0alpha1
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion JAVA-912 Done 2.12.0, 3.0.0 PERL-258 Done 0.704.0.0 RUBY-669 Done 1.10.0 CSHARP-800 Done 1.9 PYTHON-555 Done 2.7 NODE-78 Done 1.4 PHP-944 Done 1.5.0, 1.5.0alpha1

      This is somewhat similar to the "out" parameter for the mapReduce command. Documentation for the feature is available in the release notes here:

      http://docs.mongodb.org/manual/release-notes/2.6/#out-stage-to-write-data-to-a-collection

      The drivers spec is available here:

      https://github.com/mongodb/specifications/blob/master/source/out-aggregation-pipeline-operator.rst

      Here's an example of using $out, with the result message:

      > db.test.aggregate( { $project : { x : 1 } }, { $out : "out" } )
      { "result" : [ ], "ok" : 1 }
      

            Assignee:
            barrie Barrie Segal
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: