I want to rename a field that all documents have in my Mongo collection. There's already a great answer for that. But instead of overwriting the current property name, I want to save my renamed property as a new field, leaving the original intact.
Imagine my documents look like this:
{
"property": "Original property value"
}
I want to obtain this:
{
"property": "Original property value",
"property_new": "Original property value"
}
How can I do that?