mongodb insert data and get doceumnt id code example Example: mongodb insert db.products.insert( { item: "card", qty: 15 } )