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
Recommended Comments
There are no comments to display.