insert table with array mongo code example Example: mongodb insert db.products.insert( { item: "card", qty: 15 } )