MongoDB Aggregation


#1

Hi there
I’m working on an app base on mongoDB with Dreamfactory
i can create get update delete records : no problem
i’m looking on the way to use mongo aggregation

i test several time with API doc with simple aggregation on a dummy collection
with Get record with the folowing in the Filter
"$group": { _id: “$state”, “totalPop”: { “$sum”: “$pop” } }
i also tried
"$group": { “_id”: “$state”, “totalPop”: { “$sum”: “$pop” } }

without any succes
in fact the above test make Dreamfactory console hang (screenshot here, if needed)

so do some of you already successfully tried to aggregate mongo with dreamfactory ?

thanks


What do YOU want to see?
#2

Hi

Did you manage to solve this ?, as i have the same problem

Thanks
Tony