Support aggregation framework queries in mongoexport

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: mongoexport
    • Needed

      For mongoexport you can use --query to define ad hoc queries when exporting data.

      In MongoDB 2.6+ the aggregate command returns a result cursor similar to a normal query. It would be nice to be able to specify aggregation framework results with a command line option as an alternative to --query:

      For example:

      mongoexport --db test --collection foo --aggregate '[ { "$unwind" : { documentTags : 1 } } ]'
      

              Assignee:
              David Golden
              Reporter:
              Matias Cascallares (Inactive)
              Votes:
              4 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: