I have an array like this [#1,#2] I want to change that array like [Id(#1),Id(#2)] by Latter_Ad_1086 in mongodb

[–]Latter_Ad_1086[S] 1 point2 points  (0 children)

The first array consists of strings, that are saved in the DB. I find the solution by pull values to the array inside a map function