I have a schema that looks like
name:
value:
pattern:
XUknown:
I have 2 million documents in this collection.
Want
– I want to rename the column name XUknown to XString, so that the schema looks like
name:
value:
pattern:
XString:
How can I achieve this?
Thank you
You can use a $rename modifier.
You might also refresh your knowledge of update().