Practical example demonstrating how to query for min/max values of grouped documents in MongoDB including additional non-grouped field values using $push
, $map
and $filter
aggregation operators.
MongoDB
MongoDB: add/update fields referencing other existing fields using aggregation pipelines
Short explanation on how to add or update fields in documents referencing the values of other already existing fields by leveraging the aggregation pipeline framework.
Connecting from a Docker container to a local MongoDB
A quick guide demonstrating how to connect to a local MongoDB instance from a Docker container.