We changed our privacy policy. Read more.

Questions tagged [mongodb-query]

This tag is for questions related to querying and updating MongoDB collections, either through the Mongo shell or using a programming language driver.

Filter by
Sorted by
Tagged with
2
votes
0answers
74 views

Return aggregated values

It's the first time a write a non-trivial mongodb query, and I came up with one that does work, but is 123 lines long! Surely there must be a way to write it in a more concise way. The purpose of the ...
2
votes
1answer
439 views

Aggregate query for drawing temporal statistic

I used to write simple Mongo queries, but this time I had to create an aggregate query. The purpose is to draw temporal statistic on the main page of my web app. I'm not confident about his ...