db.rename.insert({_id:1, a:1})
db.rename.update({_id:1}, {$rename:{'a':'b'}})
db.find({_id:1})
{_id:1, b:1}
oplog needs to be rewritten as $unset/$set or a op in the middle could cause problems
- related to
-
SERVER-134 $unset (was: $unset and $rename)
- Closed