Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-1951

M/R output param should allow us to use db.collection not only collection

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.7.5
    • Affects Version/s: None
    • Component/s: Querying
    • None

      Should add a field to out

      { out :

      { merge : "foo" , db : "other" }

      }

      tricky part is filling in "result" field.
      I think best solution is having it start with a .
      so normal would be "result" ; "foo"
      with this would be ".other.foo"

      OLD:
      We have "rawdata" on a DB, and reduced collections on a different DB.

      For us it could be interesting to do output='ReducedDB.NewReducedCollection

      This would help moving a lot of data from one DB to another One.

      Would be great in combination with this one:

      http://jira.mongodb.org/browse/SERVER-647

            Assignee:
            antoine Antoine Girbal
            Reporter:
            amesas@gmail.com Alberto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: