Use the filter positional operator in MongoDB to update specific array elements
For a full overview of MongoDB and all my posts on it, check out my overview.
MongoDB provides a filter positional operator $[<name_of_filter>] to only update some elements in an array. If you want to update all the elements in the array, use the al...
dfeury.hashnode.dev2 min read