Simple, self-explanatory code snippets.
db.test1.update(
{
"filter_field": 1,
},
[
{$set: {
"target_field": "$source_field"
}}
]
);
No comments:
Post a Comment