Complete guide for moving an existing local MongoDB installation to newer versions of Fedora using Docker. Also useful if you are looking for getting a MongoDB container up & running on Linux with locally hosted data.
MongoDB
Query min/max values with additional non-grouped fields in MongoDB
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: 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.