Posts by Andrew Rodrigues Brunoro • 1 point
2 posts
-
0
votes1
answer33
viewsA: Mongodb - data divergence problem in Aggregation
[SOLUTION] The $sort is losing data before the $group that pulls the last requests. { _id: '$msisdn', "order": { "$last": "$$ROOT" } } in my case I just changed position $sort and worked properly.…
mongodbanswered Andrew Rodrigues Brunoro 1 -
-1
votes1
answer33
viewsQ: Mongodb - data divergence problem in Aggregation
I’m making a agreggation in collect pedidos where at the end I make a group to count how many pedidos has every status. So far, so good... Only when I put it on match looking for a status specific…
mongodbasked Andrew Rodrigues Brunoro 1