| Collection | Documents | Indexes |
|---|
Pick the keys to group by and what to measure, then Run - or paste a MongoDB pipeline.
Every query scans the whole collection. Create an index above on the fields you filter or sort by, and the query plan uses it.
Query language
MongoDB's filter documents, as the shell types them: unquoted keys, single quotes, ISODate('2026-01-31').
CtrlSpace suggestions Tab takes one CtrlEnter runs