Tagged "MongoDB"

Retrieve only queried element in an object array in MongoDB collection

In this 'Quick Tip' article, we review how to retrieve only the queried element in an object of arrays in MongoDB.

Deprecation Warnings in MongoDB's Node.js API

This article shows how to fix some of the deprecation warnings after updating to MongoDB 4 as well as using the MongoDB Node.js 3.x API.

Sharing a MongoDB connection in Node.js/Express

This article covers how to share a MongoDB database connection in a Node.js/Express application in the right way.