Skip to content
tsmx

tsmx

pragmatic IT

  • start
  • npm-packages

MongoDB

Query min/max values with additional non-grouped fields in MongoDB

2. June 202227. May 2022 by tsmx-dev

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.

Read more

Categories MongoDB Tags MongoDB

MongoDB: add/update fields referencing other existing fields using aggregation pipelines

9. April 2022 by tsmx-dev

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.

Read more

Categories MongoDB Tags JavaScript, MongoDB

Connecting from a Docker container to a local MongoDB

17. March 202214. January 2022 by tsmx-dev

A quick guide demonstrating how to connect to a local MongoDB instance from a Docker container.

Read more

Categories Development Tags Docker, MongoDB, networking

Recent Posts

  • Express: passing dates in an URL using route parameters including regex validation
  • Query min/max values with additional non-grouped fields in MongoDB
  • MongoDB: add/update fields referencing other existing fields using aggregation pipelines
  • Connecting from a Docker container to a local MongoDB
  • Full code-coverage with Jest

Categories

  • Cloud (1)
  • Development (5)
  • GCP (1)
  • MongoDB (2)
  • NodeJS (12)

Archives

  • June 2022
  • May 2022
  • April 2022
  • January 2022
  • November 2021
  • October 2021
  • September 2021
  • June 2021
  • March 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020

Links

Privacy Policy | Imprint

© 2022 tsmx • Built with GeneratePress