Watch keynotes and sessions from MongoDB.live, our virtual developer conference.

Reg: mongo query

HI Experts,

Am using this query:

db.getCollection('rateReachData').find({"parentProfileType" : "pcclassDLS Without Video","serviceProfileName":"S2_Max_Fast_16352_1024",serviceProfileDetails: { $elemMatch: { attributeName: "omsMaxSpeed", attributeValue: "Internet 18" } }})

need java script to update attributeValue: “Internet 18” to attributeValue: “Internet 12”

Hi experts,

By using db.collection.update how can I update the above function and requirement.

Hi experts,

can you please update on it.

thanks