Как я могу изменить имя типа встраивания запросом $ rename?
{ list_name: [{ name_1: String }] } => { list_name: [{ name_2: String }] }
Я пробовал db.getCollection('test').updateMany({}, { $rename: { 'list_name.name_1': 'name_2' }})
Но выдает ошибку: WriteError: cannot use the part (list_name of list_name.name_1) to traverse the element ({list_name: [ { name_1: "test" } ]})