Hi all,
I need to insert data from one collection to fields in another collection.
For exmaple, I have the collection “A”, with these kind of documents:
FILE_TYPE : “P”,
ZONE_ID : 1,
FILE_NAME : “A_PDMM_BINARY”
and I need to insert the values above into another collection “B”, where fields names are different. So, every document from collection “A” will be inserted to collection “B” with these slightly different field names:
FileType : “P”,
ZoneId : 1,
FileName : “A_PDMM_BINARY”
What would be the best way to achieve this?
Thanks,
Tamar