Hi, Below is my json, is there any way where I can merge multiple fields of a same document using MongoDB. { "_id" : 1, "sem" : 1, "achieve" : [ 70, 87, 90 ] } I am expecting the output as { "_id" : 1, "sem" : [1,70, 87, 90] "achieve" : [ 70, 87, 90 ] }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)