how can i update a field whose dataType is integer to double
First, please provide closure on your other thread at db.colectionName1.aggregate([ { $match: { "filed1": { $in: ["x", "y"] }, } }, { $lookup: { from: "colectionName2", localField: "_id", foreignField: "xy", as: "matchedDate" } }, { $match: { - #2 by steevej
For the conversion you need https://www.mongodb.com/docs/manual/reference/operator/aggregation/convert/.
Dear @P.S_Shilpa, I have spent time working on your issue.
I would appreciate a followup. Perhaps a closure by marking my post as the solution. This gives confidence to the other users that the solution works.
Thanks