MongoDB – Aggregate get specific objects in an array
How can I get only objects in the sales array matching with 2021-10-14 date ? My aggregate query currently returns all objects of the sales array if at least one is matching. Dataset Documents { "name": "#0", "sales": [{ "date":…