Skip to content Skip to sidebar Skip to footer
Showing posts with the label Aggregation Framework

Is It Possible To Use Query Projection On The Same Collection That Has A $elemmatch Projection?

I understand that you can limit the items in a subcollection array using $elemMatch as a projection… Read more Is It Possible To Use Query Projection On The Same Collection That Has A $elemmatch Projection?

Time Series And Aggregation Framework (mongo)

I'm trying to synchronise two functions I run in my app. First one checks the count of the docu… Read more Time Series And Aggregation Framework (mongo)

Mongodb - Unwinding Nested Subdocuments

For the following dataset example: lists { _id: 1, included_lists: [ 2 ], items: [ 'i1' ]} … Read more Mongodb - Unwinding Nested Subdocuments

Query And Filter Key Names Instead Of Values In Mongodb

I want to find all key names from a collection that partially match a certain string. The closest I… Read more Query And Filter Key Names Instead Of Values In Mongodb