Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Expression text for mongo aggregate query in BIRT(What is the syntax of the expression text for an aggregate query on mongo db?)
icon9.gif  Expression text for mongo aggregate query in BIRT [message #1713428] Wed, 04 November 2015 05:35
Kanj Narayan is currently offline Kanj NarayanFriend
Messages: 1
Registered: November 2015
Junior Member
I use the following command in mongo to list the required result:

db.test.aggregate([ {$group:{_id:{"code_":"$code","type_":"$type"}, total:{$sum:"$value"}}}, {$group:{_id:"$_id.code_", details:{$addToSet:{"type":"$_id.type_","tot":"$total"}}}} ])


How can I get the same result in BIRT using custom database command? What is the syntax of the query expression?
Previous Topic:How to manipulate certain values from a multi-value parameter
Next Topic:Highlight cell in crosstab causes stackoverflow in webviewer but not in eclipse
Goto Forum:
  


Current Time: Fri Apr 26 17:19:10 GMT 2024

Powered by FUDForum. Page generated in 0.03154 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top