Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
mongodb replace item in array
Yogi
Programming language:
Whatever
2021-08-18 07:59:36
0
Q:
mongodb replace item in array
Hunter
Code:
Whatever
2021-07-20 09:31:21
db.movies.updateMany( { "languages": "French" }, { "$set": { "languages.$": "Francais" } } )
0
Tags
array
replace
mongodb
Related
mongodb replace document
mongodb aggregate lookup array of objects
mongoose id from string
mongodb push to arry in update
how to spread an array in mongodb
mongodb find by id and update doesnt work
mongodb find field based on variable
mongodb update syntax
mongodb regex case insensitive
replace specific values in array
how to get array object value in mongodb
New to Communities?
Join the community