Closed rstewarting closed 6 years ago
I am running an aggregation successfully in Studio 3T. Running the following statement through mongolite though, returns zero documents:
mc5613 <- abcdata$aggregate('[ {"$match" : {"payload.AccountId" : 5613.0}}, {"$group" : {"_id" : "$payload._Id", "count" : {"$sum" : 1.0}}}]')
I am running an aggregation successfully in Studio 3T. Running the following statement through mongolite though, returns zero documents:
mc5613 <- abcdata$aggregate('[ {"$match" : {"payload.AccountId" : 5613.0}}, {"$group" : {"_id" : "$payload._Id", "count" : {"$sum" : 1.0}}}]')