DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to update mongodb collection with a new field
db.collection.updateMany({}, {$set: {"fieldName": ""}})
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#update
#mongodb
#collection
#field
ADD COMMENT
Topic
COMMENT
Name
8+7 =
Submit