pymongo insert array of documents code example
Example 1: insert command mongo
db.collection.insert( { item: "card", qty: 15 } )
Example 2: insert property multiple documents mongodb
db.myCollection.update({}, {$set: {"isOpen": false}}, false, true)