My Mongo-DB document look as follows
{ "_id" : ObjectId("5c9b20b180c4a5698aa49281"), "arr" : [ 1, 2, 2, "23" ] }
{ "_id" : ObjectId("5c9b20b180c4a5698aa49282"), "arr" : [ 1, 2, 2, "23" ] }
{ "_id" : ObjectId("5c9b20b180c4a5698aa49283"), "arr" : [ 23, "234", 42, 24
]}
i need to convert the single string element from "arr" array to int.