mongodb insert document array code example Example: insert command mongo db.collection.insert( { item: "card", qty: 15 } )