inserting document in mongodb code example
Example 1: mongodb insert
db.products.insert( { item: "card", qty: 15 } )
Example 2: insert property multiple documents mongodb
db.myCollection.update({}, {$set: {"isOpen": false}}, false, true)
db.products.insert( { item: "card", qty: 15 } )
db.myCollection.update({}, {$set: {"isOpen": false}}, false, true)