Answers for "mongodb replace root"

0

mongodb replace root

db.collection.aggregate([   { $replaceRoot: { newRoot: "$name" } }])
Posted by: Guest on April-29-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language