write record to mongo client code example Example: mongodb insert db.products.insert( { item: "card", qty: 15 } )