Jump to content
We've recently updated our Privacy Statement, available here ×
  • no such cmd:aggregate


    ghudson_1
    • Product: iReport Designer

    Issue Description:

    Upon executing a MongoDBQuery, you encounter an error:  "Error: no such cmd: aggregate"

    Using shell instead of iReport, you'd also get the same error, like:

    [toc]
    com.mongodb.CommandResult$CommandFailure:
        command failed [aggregate]: { "serverUsed" : "<server address>" , "errmsg" : "no such cmd: aggregate" , "bad cmd" : { "aggregate" : .... };
    

    Resolution:

    You are using a version of MongoDB older than 2.2, so the aggregrate framework is not yet supported.

    From shell you can check your version with the command:

    > db.runCommand( {buildInfo: 1} )
    

    Ref. Case #00035314


    User Feedback

    Recommended Comments

    There are no comments to display.



    Guest
    This is now closed for further comments

×
×
  • Create New...