how to insert an array in mongodb collection 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)