Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in aggregation-framework

Getting the max for the first element in an array?

Geonear sort by distance and time

Aggregate & insert collection into a different collection in mongodb

mongoDB, sum the product of two fields

Merge the original array of objects into the "as" field after a $lookup

MongoDB Aggregate - Query to get items that match key in first item of sort

MongoDB nested lookup in Embedded Document

MongoDB merge array of objects with value update by key

Mongodb limit array within aggregate query

Set _id to a new UUID using $addFields

Get the set of all unique values in array field

How to use a Javascript object inside mongodb aggregation pipeline?

Adding custom field during find in Mongoose

MongoError: The $cond accumulator is a unary operator

Mongoose/mongodb - get only latest records per id

How to use $update/ $set operator in aggregation pipeline mongodb?

MongoDB get every second result

Project different fields based on different condition

combine array fields into a single array field mongo

Matching ObjectId to String for $graphLookup