Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

add property to all documents mongo

db.myCollection.update({}, {$set: {"isOpen": false}}, false, true)
 
PREVIOUS NEXT
Tagged: #add #property #documents #mongo
ADD COMMENT
Topic
Name
6+4 =