DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR TYPESCRIPT
mongodb replace item in array
db.movies.updateMany( { "languages": "French" }, { "$set": { "languages.$": "Francais" } } )
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#mongodb
#replace
#item
#array
ADD COMMENT
Topic
COMMENT
Name
7+4 =
Submit