Out With the Old!
Do you need to do a little New Years cleaning? Well you are in luck … MongoDB’s Aggregation Framework makes it easy to archive your collection’s documents. You can use the $out or $merge stages (along with just about any other stages) to construct a complex pipeline of “cleaning” or “transforming” for your documents. Then, […]