[03:42:50] <advorak> hi All. I'm just re-learning mongo again ... I have a set of documents in the collection 'episodes' with the following format: {title:null, data: {title: "mytitle"}} ... I'm trying to run an update to set title to the value of data.title: db.episodes.updateMany({},{$set: {title: data.title}})
[03:42:50] <advorak> I'm sure I'm doing it incorrectly, since it's returning an error that 'data is not defined', but if you could point me what I should be searching for/looking at, it would be much appreciated :-)