Merge collections in MongoDB Version Less than 4.2 (or Amazon DocumentDB)

Reading Time: 4 minutes Using MongoDB (a document database designed for ease of development and scaling) with the older version or using Amazon DocumentDB (a scalable, highly durable, and fully managed database service for operating mission-critical MongoDB workloads compatible with MongoDB version 3.6 and version 4.0), they have some limited features and one of the limitation of using them is that they don’t allow the direct merge of two Continue Reading