db.a.insert({_id:1, a:1})
db.a.update({a:1}, {$rename:{a:"b.$foo"}})
db.a.find()
{_id:1, b:{$foo:1}}
- duplicates
-
SERVER-15622 New $prefix field (parents) not validated during update
- Closed
db.a.insert({_id:1, a:1})
db.a.update({a:1}, {$rename:{a:"b.$foo"}})
db.a.find()
{_id:1, b:{$foo:1}}
SERVER-15622 New $prefix field (parents) not validated during update