Answers for "mongodb rename property"

0

mongodb rename property

db.getCollection('posts').update({}, {$rename: { 'comments': 'texts'}} , {multi: true});
Posted by: Guest on March-22-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language