{"id":5005,"date":"2019-05-01T13:31:09","date_gmt":"2020-04-22T06:37:42","guid":{"rendered":"https:\/\/vip.fxxkpython.com\/?p=5005"},"modified":"2021-08-31T03:17:04","modified_gmt":"2021-08-30T19:17:04","slug":"1f2e24542d","status":"publish","type":"post","link":"https:\/\/vip.fxxkpython.com\/?p=5005","title":{"rendered":"python\u722c\u866b27 | \u5f53Python\u9047\u5230MongoDB\u7684\u65f6\u5019\uff0c\u5b58\u50a8av\u5973\u4f18\u7684\u6570\u636e\u53d8\u5f97\u5982\u6b64\u987a\u6ed1\u723d\uff5e"},"content":{"rendered":"<div class=\"bpp-post-content\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u4e0a\u6b21<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u6211\u4eec\u77e5\u9053\u4e86\u600e\u4e48\u64cd\u4f5c MySQL \u6570\u636e\u5e93<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\"><a href=\"http:\/\/mp.weixin.qq.com\/s?__biz=MzU2ODYzNTkwMg==&amp;mid=2247484510&amp;idx=1&amp;sn=316cec6eab70fcd8005cc580a66e02aa&amp;chksm=fc8bbccfcbfc35d9cea2ec45e3138918596c37fdb3e0ced2d88c077d63cf5ed29842358a5896&amp;scene=21#wechat_redirect\" target=\"_blank\" rel=\"noopener noreferrer\">python\u722c\u866b26 | \u628a\u6570\u636e\u722c\u53d6\u4e0b\u6765\u4e4b\u540e\u5c31\u5b58\u50a8\u5230\u4f60\u7684MySQL\u6570\u636e\u5e93\u3002<\/a><\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">MySQL \u6709\u4e9b\u5e74\u5934\u4e86<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u5f00\u6e90\u53c8\u6210\u719f\u53c8\u725b\u903c<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u6240\u4ee5\u73b0\u5728\u5f88\u591a\u4f01\u4e1a\u90fd\u5728\u4f7f\u7528 MySQL<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\"><span style=\"letter-spacing: 1.5px; text-align: center;\">MySQL \u662f<\/span><span style=\"letter-spacing: 1.5px; text-align: center; background-color: #ffa900; color: #ffffff;\">\u5173\u7cfb\u578b\u6570\u636e\u5e93<\/span><\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u5176\u5b9e\u5f53\u524d\u4e3b\u6d41\u7684\u6570\u636e\u5e93<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u4f8b\u5982<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">Oracle\u3001DB2\u3001PostgreSQL\u3001Microsoft SQL Server \u7b49\u7b49<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u90fd\u662f\u5173\u7cfb\u578b\u6570\u636e\u5e93<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u8fd9\u6837\u7684\u8bdd<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u5b83\u4eec\u53ef\u4ee5\u5728\u6570\u636e\u8868\u4e4b\u95f4\u5efa\u7acb\u7d22\u5f15\u3001\u7ea6\u675f<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u8fdb\u884c\u5173\u8054<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u8ba9\u8868\u4e0e\u8868\u4e4b\u95f4\u4ea7\u751f\u8054\u7cfb<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u53ef\u4ee5\u8ba9\u6570\u636e\u91cd\u590d\u5229\u7528\uff0c\u4e0d\u4f1a\u6d6a\u8d39<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\"><img decoding=\"async\" class=\"mpa-image mpa-set-up-fillet-add-flag aligncenter\" style=\"box-shadow: none;\" title=\"python\u722c\u866b27 | \u5f53Python\u9047\u5230MongoDB\u7684\u65f6\u5019\uff0c\u5b58\u50a8av\u5973\u4f18\u7684\u6570\u636e\u53d8\u5f97\u5982\u6b64\u987a\u6ed1\u723d\uff5e\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/04\/python4-1587537463.gif\" alt=\"python\u722c\u866b27 | \u5f53Python\u9047\u5230MongoDB\u7684\u65f6\u5019\uff0c\u5b58\u50a8av\u5973\u4f18\u7684\u6570\u636e\u53d8\u5f97\u5982\u6b64\u987a\u6ed1\u723d\uff5e\" \/><\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u00a0\u76f8\u5bf9\u5e94\u7684\u5c31\u662f<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\"><span style=\"text-align: center; background-color: #ffa900; color: #ffffff;\">\u975e\u5173\u7cfb\u578b\u6570\u636e\u5e93<\/span><\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\"><span style=\"text-align: center;\">\u00a0<\/span><\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\"><strong>NoSQL<\/strong><\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\"><strong>\u00a0<\/strong><\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u5b83\u4e0d\u7528\u4f20\u7edf\u7684 SQL \u8bed\u53e5\u8fdb\u884c\u64cd\u4f5c<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u800c\u662f\u6709\u81ea\u5df1\u7684\u72ec\u7279\u7684\u6570\u636e\u5b58\u50a8\u65b9\u5f0f<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u53ef\u4ee5\u8bf4\u76f8\u5f53\u65b9\u4fbf<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">NOSQL \u7684\u7ecf\u5178\u4ee3\u8868\u6570\u636e\u5e93\u5c31\u662f\u6211\u4eec\u4eca\u5929\u8981\u8bf4\u7684<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\"><strong>MongoDB<\/strong><\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\"><strong>\u00a0<\/strong><\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u7531 C++ \u5199\u7684\u00a0\u6587\u6863\u5b58\u50a8 \u5f62\u5f0f\u7684\u975e\u5173\u7cfb\u6570\u636e\u5e93<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u5982\u679c\u4f60\u5bf9 JSON \u6709\u6240\u4e86\u89e3<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u90a3\u4e48 MongoDB \u5bf9\u4f60\u6765\u8bf4so easy<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\"><img decoding=\"async\" class=\"rich_pages mpa-set-up-fillet-add-flag aligncenter\" style=\"box-shadow: #aaaaaa 0em 0em 1em 0px;\" title=\"python\u722c\u866b27 | \u5f53Python\u9047\u5230MongoDB\u7684\u65f6\u5019\uff0c\u5b58\u50a8av\u5973\u4f18\u7684\u6570\u636e\u53d8\u5f97\u5982\u6b64\u987a\u6ed1\u723d\uff5e\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/04\/python7-1587537463.png\" alt=\"python\u722c\u866b27 | \u5f53Python\u9047\u5230MongoDB\u7684\u65f6\u5019\uff0c\u5b58\u50a8av\u5973\u4f18\u7684\u6570\u636e\u53d8\u5f97\u5982\u6b64\u987a\u6ed1\u723d\uff5e\" \/><\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u7531\u4e8e\u5b83\u662f\u57fa\u4e8e\u5185\u5b58\u5bf9\u6570\u636e\u8fdb\u884c\u5904\u7406\u7684<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u6240\u4ee5\u8bfb\u5199\u901f\u5ea6\u76f8\u5bf9\u66f4\u9ad8\u4e00\u4e9b<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u597d\u4e86<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u5439\u4e86\u4e00\u6ce2 MongoDB \u7684\u725b\u903c\u4e4b\u540e<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\"><img decoding=\"async\" class=\"mpa-image mpa-set-up-fillet-add-flag aligncenter\" style=\"box-shadow: none;\" title=\"python\u722c\u866b27 | \u5f53Python\u9047\u5230MongoDB\u7684\u65f6\u5019\uff0c\u5b58\u50a8av\u5973\u4f18\u7684\u6570\u636e\u53d8\u5f97\u5982\u6b64\u987a\u6ed1\u723d\uff5e\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/04\/python5-1587537463.jpeg\" alt=\"python\u722c\u866b27 | \u5f53Python\u9047\u5230MongoDB\u7684\u65f6\u5019\uff0c\u5b58\u50a8av\u5973\u4f18\u7684\u6570\u636e\u53d8\u5f97\u5982\u6b64\u987a\u6ed1\u723d\uff5e\" \/><\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u63a5\u4e0b\u6765\u5c0f\u5e05b\u5c31\u6765\u8ddf\u4f60\u8bf4\u8bf4<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u600e\u4e48\u73a9\u00a0<span style=\"text-align: center;\">MongoDB<\/span><\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\"><span style=\"text-align: center;\">\u00a0<\/span><\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\"><span style=\"text-align: center;\">\u63a5\u4e0b\u6765\u5c31\u662f<\/span><\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\"><span style=\"text-align: center;\">\u00a0<\/span><\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\"><span style=\"text-align: center; background-color: #ffa900; color: #ffffff;\">\u5b66\u4e60 python \u7684\u6b63\u786e\u59ff\u52bf<\/span><\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\"><img decoding=\"async\" class=\"mpa-image mpa-set-up-fillet-add-flag aligncenter\" style=\"box-shadow: none;\" title=\"python\u722c\u866b27 | \u5f53Python\u9047\u5230MongoDB\u7684\u65f6\u5019\uff0c\u5b58\u50a8av\u5973\u4f18\u7684\u6570\u636e\u53d8\u5f97\u5982\u6b64\u987a\u6ed1\u723d\uff5e\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/04\/python10-1587537463.jpeg\" alt=\"python\u722c\u866b27 | \u5f53Python\u9047\u5230MongoDB\u7684\u65f6\u5019\uff0c\u5b58\u50a8av\u5973\u4f18\u7684\u6570\u636e\u53d8\u5f97\u5982\u6b64\u987a\u6ed1\u723d\uff5e\" \/><\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u6211\u4eec\u5148\u6765\u770b\u770b\u8fd9\u6837\u7684\u6570\u636e<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<table class=\"colwidths-auto guide-tablenate docutils\" style=\"margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<thead style=\"box-sizing: border-box;\" valign=\"bottom\">\n<tr class=\"row-odd\" style=\"box-sizing: border-box;\">\n<th class=\"head\" style=\"box-sizing: border-box; text-align: left; padding: 0px 5px 12px; border-color: #ebebed; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: initial; border-left-style: initial; border-right-style: initial;\"><span style=\"font-size: 14px;\">name<\/span><\/th>\n<th class=\"head\" style=\"box-sizing: border-box; text-align: left; padding: 0px 5px 12px; border-color: #ebebed; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: initial; border-left-style: initial; border-right-style: initial;\"><span style=\"font-size: 14px;\">quantity<\/span><\/th>\n<th class=\"head\" style=\"box-sizing: border-box; text-align: left; padding: 0px 5px 12px; border-color: #ebebed; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: initial; border-left-style: initial; border-right-style: initial;\"><span style=\"font-size: 14px;\">size<\/span><\/th>\n<th class=\"head\" style=\"box-sizing: border-box; text-align: left; padding: 0px 5px 12px; border-color: #ebebed; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: initial; border-left-style: initial; border-right-style: initial;\"><span style=\"font-size: 14px;\">status<\/span><\/th>\n<th class=\"head\" style=\"box-sizing: border-box; text-align: left; padding: 0px 5px 12px; border-color: #ebebed; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: initial; border-left-style: initial; border-right-style: initial;\"><span style=\"font-size: 14px;\">tags<\/span><\/th>\n<th class=\"head\" style=\"box-sizing: border-box; text-align: left; padding: 0px 5px 12px; border-color: #ebebed; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: initial; border-left-style: initial; border-right-style: initial;\"><span style=\"font-size: 14px;\">rating<\/span><\/th>\n<\/tr>\n<\/thead>\n<tbody style=\"box-sizing: border-box;\" valign=\"top\">\n<tr class=\"row-even\" style=\"box-sizing: border-box;\">\n<td style=\"box-sizing: border-box; border-color: #ebebed; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: initial; border-left-style: initial; border-right-style: initial; padding: 11px 5px 12px; word-break: break-all;\"><span style=\"font-size: 14px;\">journal<\/span><\/td>\n<td style=\"box-sizing: border-box; border-color: #ebebed; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: initial; border-left-style: initial; border-right-style: initial; padding: 11px 5px 12px;\"><span style=\"font-size: 14px;\">25<\/span><\/td>\n<td style=\"box-sizing: border-box; border-color: #ebebed; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: initial; border-left-style: initial; border-right-style: initial; padding: 11px 5px 12px;\"><span style=\"font-size: 14px;\">14&#215;21,cm<\/span><\/td>\n<td style=\"box-sizing: border-box; border-color: #ebebed; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: initial; border-left-style: initial; border-right-style: initial; padding: 11px 5px 12px;\"><span style=\"font-size: 14px;\">A<\/span><\/td>\n<td style=\"box-sizing: border-box; border-color: #ebebed; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: initial; border-left-style: initial; border-right-style: initial; padding: 11px 5px 12px;\"><span style=\"font-size: 14px;\">brown, lined<\/span><\/td>\n<td style=\"box-sizing: border-box; border-color: #ebebed; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: initial; border-left-style: initial; border-right-style: initial; padding: 11px 5px 12px;\"><span style=\"font-size: 14px;\">9<\/span><\/td>\n<\/tr>\n<tr class=\"row-odd\" style=\"box-sizing: border-box; background: rgba(198, 245, 164, 0.36);\">\n<td style=\"box-sizing: border-box; border-color: #ebebed; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: initial; border-left-style: initial; border-right-style: initial; padding: 11px 5px 12px;\"><span style=\"font-size: 14px;\">notebook<\/span><\/td>\n<td style=\"box-sizing: border-box; border-color: #ebebed; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: initial; border-left-style: initial; border-right-style: initial; padding: 11px 5px 12px;\"><span style=\"font-size: 14px;\">50<\/span><\/td>\n<td style=\"box-sizing: border-box; border-color: #ebebed; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: initial; border-left-style: initial; border-right-style: initial; padding: 11px 5px 12px;\"><span style=\"font-size: 14px;\">8.5&#215;11,in<\/span><\/td>\n<td style=\"box-sizing: border-box; border-color: #ebebed; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: initial; border-left-style: initial; border-right-style: initial; padding: 11px 5px 12px;\"><span style=\"font-size: 14px;\">A<\/span><\/td>\n<td style=\"box-sizing: border-box; border-color: #ebebed; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: initial; border-left-style: initial; border-right-style: initial; padding: 11px 5px 12px;\"><span style=\"font-size: 14px;\">college-ruled,perforated<\/span><\/td>\n<td style=\"box-sizing: border-box; border-color: #ebebed; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: initial; border-left-style: initial; border-right-style: initial; padding: 11px 5px 12px;\"><span style=\"font-size: 14px;\">8<\/span><\/td>\n<\/tr>\n<tr class=\"row-even\" style=\"box-sizing: border-box;\">\n<td style=\"box-sizing: border-box; border-color: #ebebed; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: initial; border-left-style: initial; border-right-style: initial; padding: 11px 5px 12px;\"><span style=\"font-size: 14px;\">paper<\/span><\/td>\n<td style=\"box-sizing: border-box; border-color: #ebebed; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: initial; border-left-style: initial; border-right-style: initial; padding: 11px 5px 12px;\"><span style=\"font-size: 14px;\">100<\/span><\/td>\n<td style=\"box-sizing: border-box; border-color: #ebebed; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: initial; border-left-style: initial; border-right-style: initial; padding: 11px 5px 12px;\"><span style=\"font-size: 14px;\">8.5&#215;11,in<\/span><\/td>\n<td style=\"box-sizing: border-box; border-color: #ebebed; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: initial; border-left-style: initial; border-right-style: initial; padding: 11px 5px 12px;\"><span style=\"font-size: 14px;\">D<\/span><\/td>\n<td style=\"box-sizing: border-box; border-color: #ebebed; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: initial; border-left-style: initial; border-right-style: initial; padding: 11px 5px 12px;\"><span style=\"font-size: 14px;\">watercolor<\/span><\/td>\n<td style=\"box-sizing: border-box; border-color: #ebebed; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: initial; border-left-style: initial; border-right-style: initial; padding: 11px 5px 12px;\"><span style=\"font-size: 14px;\">10<\/span><\/td>\n<\/tr>\n<tr class=\"row-odd\" style=\"box-sizing: border-box; background: rgba(198, 245, 164, 0.36);\">\n<td style=\"box-sizing: border-box; border-color: #ebebed; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: initial; border-left-style: initial; border-right-style: initial; padding: 11px 5px 12px;\"><span style=\"font-size: 14px;\">planner<\/span><\/td>\n<td style=\"box-sizing: border-box; border-color: #ebebed; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: initial; border-left-style: initial; border-right-style: initial; padding: 11px 5px 12px;\"><span style=\"font-size: 14px;\">75<\/span><\/td>\n<td style=\"box-sizing: border-box; border-color: #ebebed; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: initial; border-left-style: initial; border-right-style: initial; padding: 11px 5px 12px;\"><span style=\"font-size: 14px;\">22.85&#215;30,cm<\/span><\/td>\n<td style=\"box-sizing: border-box; border-color: #ebebed; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: initial; border-left-style: initial; border-right-style: initial; padding: 11px 5px 12px;\"><span style=\"font-size: 14px;\">D<\/span><\/td>\n<td style=\"box-sizing: border-box; border-color: #ebebed; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: initial; border-left-style: initial; border-right-style: initial; padding: 11px 5px 12px;\"><span style=\"font-size: 14px;\">2019<\/span><\/td>\n<td style=\"box-sizing: border-box; border-color: #ebebed; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: initial; border-left-style: initial; border-right-style: initial; padding: 11px 5px 12px;\"><span style=\"font-size: 14px;\">10<\/span><\/td>\n<\/tr>\n<tr class=\"row-even\" style=\"box-sizing: border-box;\">\n<td style=\"box-sizing: border-box; border-color: #ebebed; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: initial; border-left-style: initial; border-right-style: initial; padding: 11px 5px 12px;\"><span style=\"font-size: 14px;\">postcard<\/span><\/td>\n<td style=\"box-sizing: border-box; border-color: #ebebed; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: initial; border-left-style: initial; border-right-style: initial; padding: 11px 5px 12px;\"><span style=\"font-size: 14px;\">45<\/span><\/td>\n<td style=\"box-sizing: border-box; border-color: #ebebed; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: initial; border-left-style: initial; border-right-style: initial; padding: 11px 5px 12px;\"><span style=\"font-size: 14px;\">10x,cm<\/span><\/td>\n<td style=\"box-sizing: border-box; border-color: #ebebed; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: initial; border-left-style: initial; border-right-style: initial; padding: 11px 5px 12px;\"><span style=\"font-size: 14px;\">D<\/span><\/td>\n<td style=\"box-sizing: border-box; border-color: #ebebed; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: initial; border-left-style: initial; border-right-style: initial; padding: 11px 5px 12px;\"><span style=\"font-size: 14px;\">double-sided,white<\/span><\/td>\n<td style=\"box-sizing: border-box; border-color: #ebebed; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-top-style: initial; border-left-style: initial; border-right-style: initial; padding: 11px 5px 12px;\"><span style=\"font-size: 14px;\">2<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\uff08\u6765\u81ea mongodb \u5b98\u65b9\u4f8b\u5b50\uff09<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u6709\u4e9b\u5b57\u6bb5\u91cc\u9762\u5305\u542b\u591a\u4e2a\u4fe1\u606f<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u5982\u679c\u6309\u4f20\u7edf\u7684 SQL \u7684\u8bdd<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u67e5\u8be2\u8d77\u6765\u6bd4\u8f83\u9ebb\u70e6<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u800c\u4e14\u9700\u8981\u521b\u5efa\u591a\u5f20\u8868\u8fdb\u884c\u5173\u8054<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u800c\u7528\u6587\u6863\u683c\u5f0f\u5b58\u50a8\u7684\u8bdd\u5c31\u53ef\u4ee5\u4f7f\u7528\u8fd9\u6837\u7684\u683c\u5f0f\u8868\u793a<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<section class=\"code-snippet__fix code-snippet__js\">\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\">{\n<\/span><\/code><code><span class=\"code-snippet_outer\"> <span class=\"code-snippet__attr\">\"name\"<\/span>: <span class=\"code-snippet__string\">\"notebook\"<\/span>,\n<\/span><\/code><code><span class=\"code-snippet_outer\"> <span class=\"code-snippet__attr\">\"qty\"<\/span>: <span class=\"code-snippet__number\">50<\/span>,\n<\/span><\/code><code><span class=\"code-snippet_outer\"> <span class=\"code-snippet__attr\">\"rating\"<\/span>: [ { <span class=\"code-snippet__attr\">\"score\"<\/span>: <span class=\"code-snippet__number\">8<\/span> }, { <span class=\"code-snippet__attr\">\"score\"<\/span>: <span class=\"code-snippet__number\">9<\/span> } ],\n<\/span><\/code><code><span class=\"code-snippet_outer\"> <span class=\"code-snippet__attr\">\"size\"<\/span>: { <span class=\"code-snippet__attr\">\"height\"<\/span>: <span class=\"code-snippet__number\">11<\/span>, <span class=\"code-snippet__attr\">\"width\"<\/span>: <span class=\"code-snippet__number\">8.5<\/span>, <span class=\"code-snippet__attr\">\"unit\"<\/span>: <span class=\"code-snippet__string\">\"in\"<\/span> },\n<\/span><\/code><code><span class=\"code-snippet_outer\"> <span class=\"code-snippet__attr\">\"status\"<\/span>: <span class=\"code-snippet__string\">\"A\"<\/span>,\n<\/span><\/code><code><span class=\"code-snippet_outer\"> <span class=\"code-snippet__attr\">\"tags\"<\/span>: [ <span class=\"code-snippet__string\">\"college-ruled\"<\/span>, <span class=\"code-snippet__string\">\"perforated\"<\/span>]\n<\/span><\/code><code><span class=\"code-snippet_outer\">}<\/span><\/code><\/pre>\n<\/section>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u662f\u4e0d\u662f\u5f88\u7b80\u5355\u54a7<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u90a3\u4e48\u63a5\u4e0b\u6765\u5c0f\u5e05b\u5c31\u5e26\u4f60\u4f7f\u7528 python \u6765\u64cd\u4f5c MangoDB \u5427<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\"><span style=\"background-color: #ffa900; color: #ffffff;\">\u771f\u9999\u5047\u8bbe<\/span><\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u672c\u6587\u5047\u8bbe\u4f60\u7684\u64cd\u4f5c\u7cfb\u7edf\u5df2\u7ecf\u5b89\u88c5\u597d MangoDB \u4e86<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u5982\u679c\u4f60\u8fd8\u6ca1\u5b89\u88c5\u7684\u8bdd<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u53ef\u4ee5\u5230\u4ee5\u4e0b\u94fe\u63a5\u8fdb\u884c\u4e0b\u8f7d\u5b89\u88c5<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">https:\/\/docs.mongodb.com\/manual\/installation\/?jmp=footer&#038;_ga=2.246611149.899311115.1556631996-38380112.1556631995<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\"><img decoding=\"async\" class=\"rich_pages aligncenter\" style=\"box-shadow: #aaaaaa 0em 0em 1em 0px;\" title=\"python\u722c\u866b27 | \u5f53Python\u9047\u5230MongoDB\u7684\u65f6\u5019\uff0c\u5b58\u50a8av\u5973\u4f18\u7684\u6570\u636e\u53d8\u5f97\u5982\u6b64\u987a\u6ed1\u723d\uff5e\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/04\/python6-1587537463.png\" alt=\"python\u722c\u866b27 | \u5f53Python\u9047\u5230MongoDB\u7684\u65f6\u5019\uff0c\u5b58\u50a8av\u5973\u4f18\u7684\u6570\u636e\u53d8\u5f97\u5982\u6b64\u987a\u6ed1\u723d\uff5e\" \/><\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u5f53\u4f60\u5b89\u88c5\u5b8c\u4e4b\u540e<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u542f\u52a8 mongodb<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u7136\u540e\u8f93\u5165 mongo \u5c31\u53ef\u4ee5\u64cd\u4f5c MongoDB \u4e86<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\"><img decoding=\"async\" class=\"rich_pages aligncenter\" style=\"box-shadow: #aaaaaa 0em 0em 1em 0px;\" title=\"python\u722c\u866b27 | \u5f53Python\u9047\u5230MongoDB\u7684\u65f6\u5019\uff0c\u5b58\u50a8av\u5973\u4f18\u7684\u6570\u636e\u53d8\u5f97\u5982\u6b64\u987a\u6ed1\u723d\uff5e\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/04\/python6-1587537463-1.png\" alt=\"python\u722c\u866b27 | \u5f53Python\u9047\u5230MongoDB\u7684\u65f6\u5019\uff0c\u5b58\u50a8av\u5973\u4f18\u7684\u6570\u636e\u53d8\u5f97\u5982\u6b64\u987a\u6ed1\u723d\uff5e\" \/><\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u597d\u4e86\u597d\u4e86<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u6211\u4eec\u4f7f\u7528 python \u4ee3\u7801\u6765\u64cd\u4f5c\u4e00\u4e0b\u5427<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u8fd9\u6b21\u6211\u4eec\u9700\u8981\u4e00\u4e2a\u5e93<\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; letter-spacing: 1px;\">Pymongo<\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<section class=\"code-snippet__fix code-snippet__js\">\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__keyword\">from<\/span> pymongo <span class=\"code-snippet__keyword\">import<\/span> MongoClient<\/span><\/code><\/pre>\n<\/section>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; letter-spacing: 1px;\">\u8fde\u63a5\u5230\u4f60\u7684 MongoDB<\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<section class=\"code-snippet__fix code-snippet__js\">\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attr\">conn<\/span> = MongoClient(<span class=\"code-snippet__string\">'mongodb:\/\/localhost:27017\/'<\/span>)<\/span><\/code><\/pre>\n<\/section>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; letter-spacing: 1px;\">27017 \u662f\u4f60\u7684\u00a0<span style=\"text-align: center;\">MongoDB \u7684\u9ed8\u8ba4\u7aef\u53e3<\/span><\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\"><span style=\"text-align: center;\">\u00a0<\/span><\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\u521b\u5efa\u4e00\u4e2a avIdol \u6570\u636e\u5e93\uff0c\u5982\u679c mongodb \u6ca1\u6709\u4f1a\u81ea\u884c\u521b\u5efa<\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<section class=\"code-snippet__fix code-snippet__js\">\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attr\">db<\/span> = conn.avIdol<\/span><\/code><\/pre>\n<\/section>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; letter-spacing: 1px;\">\u5f80\u6570\u636e\u5e93\u63d2\u5165\u4e00\u6761\u6570\u636e<\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<section class=\"code-snippet__fix code-snippet__js\">\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\">db.col.insert({<span class=\"code-snippet__string\">\"name\"<\/span>: <span class=\"code-snippet__string\">'\u6ce2\u591a\u91ce\u7d50\u8863'<\/span>, <span class=\"code-snippet__string\">'bwh'<\/span>: <span class=\"code-snippet__string\">'{ \"b\": 90, \"w\": 59, \"h\": 85}'<\/span> , <span class=\"code-snippet__string\">'age'<\/span>: <span class=\"code-snippet__number\">30<\/span>})<\/span><\/code><\/pre>\n<\/section>\n<p style=\"text-align: center; letter-spacing: 1px;\"><span style=\"display: none; line-height: 0px;\">\u200d<\/span><\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\u8fd0\u884c\u4e00\u4e0b<\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; letter-spacing: 1px;\">\u6ca1\u62a5\u4ec0\u4e48\u9519<\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; letter-spacing: 1px;\">\u63a5\u7740\u6211\u4eec\u4f7f\u7528<\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; letter-spacing: 1px;\">print(db.col.find_one())<\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; letter-spacing: 1px;\">\u6765\u67e5\u8be2\u4e00\u4e0b\u662f\u5426\u63d2\u5165\u6570\u636e\u4e86<\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\"><img decoding=\"async\" class=\"rich_pages aligncenter\" style=\"box-shadow: #aaaaaa 0em 0em 1em 0px;\" title=\"python\u722c\u866b27 | \u5f53Python\u9047\u5230MongoDB\u7684\u65f6\u5019\uff0c\u5b58\u50a8av\u5973\u4f18\u7684\u6570\u636e\u53d8\u5f97\u5982\u6b64\u987a\u6ed1\u723d\uff5e\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/04\/python8-1587537463.png\" alt=\"python\u722c\u866b27 | \u5f53Python\u9047\u5230MongoDB\u7684\u65f6\u5019\uff0c\u5b58\u50a8av\u5973\u4f18\u7684\u6570\u636e\u53d8\u5f97\u5982\u6b64\u987a\u6ed1\u723d\uff5e\" \/><\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; letter-spacing: 1px;\">\u53ef\u4ee5\u770b\u5230<\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; letter-spacing: 1px;\">\u6570\u636e\u63d2\u5165\u6210\u529f<\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; letter-spacing: 1px;\">\u6765\u4e2a\u6279\u91cf\u63d2\u5165\u5427<\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<section class=\"code-snippet__fix code-snippet__js\">\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\">db.col.insert([\n<\/span><\/code><code><span class=\"code-snippet_outer\">    {<span class=\"code-snippet__string\">\"name\"<\/span>: <span class=\"code-snippet__string\">'\u6ce2\u591a\u91ce\u7d50\u8863'<\/span>, <span class=\"code-snippet__string\">'bwh'<\/span>: <span class=\"code-snippet__string\">'{ \"b\": 90, \"w\": 59, \"h\": 85}'<\/span> , <span class=\"code-snippet__string\">'age'<\/span>: <span class=\"code-snippet__number\">30<\/span>},\n<\/span><\/code><code><span class=\"code-snippet_outer\">    {<span class=\"code-snippet__string\">\"name\"<\/span>: <span class=\"code-snippet__string\">'\u5409\u6cfd\u660e\u6b65'<\/span>, <span class=\"code-snippet__string\">'bwh'<\/span>: <span class=\"code-snippet__string\">'{ \"b\": 86, \"w\": 58, \"h\": 86}'<\/span> , <span class=\"code-snippet__string\">'age'<\/span>: <span class=\"code-snippet__number\">35<\/span>},\n<\/span><\/code><code><span class=\"code-snippet_outer\">    {<span class=\"code-snippet__string\">\"name\"<\/span>: <span class=\"code-snippet__string\">'\u6843\u4e43\u6728\u9999\u5948'<\/span>, <span class=\"code-snippet__string\">'bwh'<\/span>: <span class=\"code-snippet__string\">'{ \"b\": 80, \"w\": 54, \"h\": 80}'<\/span> , <span class=\"code-snippet__string\">'age'<\/span>: <span class=\"code-snippet__number\">22<\/span>},\n<\/span><\/code><code><span class=\"code-snippet_outer\">    {<span class=\"code-snippet__string\">\"name\"<\/span>: <span class=\"code-snippet__string\">'\u897f\u5bab\u68a6'<\/span>, <span class=\"code-snippet__string\">'bwh'<\/span>: <span class=\"code-snippet__string\">'{ \"b\": 85, \"w\": 56, \"h\": 86}'<\/span> , <span class=\"code-snippet__string\">'age'<\/span>: <span class=\"code-snippet__number\">22<\/span>},\n<\/span><\/code><code><span class=\"code-snippet_outer\">    {<span class=\"code-snippet__string\">\"name\"<\/span>: <span class=\"code-snippet__string\">'\u677e\u4e0b\u7eb1\u8363\u5b50'<\/span>, <span class=\"code-snippet__string\">'bwh'<\/span>: <span class=\"code-snippet__string\">'{ \"b\": 88, \"w\": 57, \"h\": 86}'<\/span> , <span class=\"code-snippet__string\">'age'<\/span>: <span class=\"code-snippet__number\">28<\/span>}\n<\/span><\/code><code><span class=\"code-snippet_outer\">])<\/span><\/code><\/pre>\n<\/section>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; letter-spacing: 1px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\" title=\"python\u722c\u866b27 | \u5f53Python\u9047\u5230MongoDB\u7684\u65f6\u5019\uff0c\u5b58\u50a8av\u5973\u4f18\u7684\u6570\u636e\u53d8\u5f97\u5982\u6b64\u987a\u6ed1\u723d\uff5e\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/04\/python6-1587537463.jpeg\" alt=\"python\u722c\u866b27 | \u5f53Python\u9047\u5230MongoDB\u7684\u65f6\u5019\uff0c\u5b58\u50a8av\u5973\u4f18\u7684\u6570\u636e\u53d8\u5f97\u5982\u6b64\u987a\u6ed1\u723d\uff5e\" \/><\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; letter-spacing: 1px;\">\u8fd9\u6b21\u6211\u4eec\u4f7f\u7528 for \u5faa\u73af\u67e5\u8be2\u4e00\u4e0b\u6570\u636e\u5e93<\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<section class=\"code-snippet__fix code-snippet__js\">\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__keyword\">for<\/span> item <span class=\"code-snippet__keyword\">in<\/span> db.col.<span class=\"code-snippet__built_in\">find<\/span>():\n<\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__built_in\">print<\/span>(item)<\/span><\/code><\/pre>\n<\/section>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; letter-spacing: 1px;\">\u53ef\u4ee5\u770b\u5230<\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; letter-spacing: 1px;\">\u6570\u636e\u88ab\u6211\u4eec\u5b58\u50a8\u4e0b\u6765\u4e86<\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\"><img decoding=\"async\" class=\"rich_pages aligncenter\" style=\"box-shadow: #aaaaaa 0em 0em 1em 0px;\" title=\"python\u722c\u866b27 | \u5f53Python\u9047\u5230MongoDB\u7684\u65f6\u5019\uff0c\u5b58\u50a8av\u5973\u4f18\u7684\u6570\u636e\u53d8\u5f97\u5982\u6b64\u987a\u6ed1\u723d\uff5e\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/04\/python4-1587537464.png\" alt=\"python\u722c\u866b27 | \u5f53Python\u9047\u5230MongoDB\u7684\u65f6\u5019\uff0c\u5b58\u50a8av\u5973\u4f18\u7684\u6570\u636e\u53d8\u5f97\u5982\u6b64\u987a\u6ed1\u723d\uff5e\" \/><\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; letter-spacing: 1px;\">\u5f53\u7136<\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; letter-spacing: 1px;\">\u4f60\u4e5f\u53ef\u4ee5\u901a\u8fc7\u6761\u4ef6\u67e5\u8be2<\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; letter-spacing: 1px;\">\u4f8b\u5982\u6839\u636e id \u67e5\u8be2<\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\"><img decoding=\"async\" class=\"rich_pages aligncenter\" style=\"box-shadow: #aaaaaa 0em 0em 1em 0px;\" title=\"python\u722c\u866b27 | \u5f53Python\u9047\u5230MongoDB\u7684\u65f6\u5019\uff0c\u5b58\u50a8av\u5973\u4f18\u7684\u6570\u636e\u53d8\u5f97\u5982\u6b64\u987a\u6ed1\u723d\uff5e\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/04\/python10-1587537464.png\" alt=\"python\u722c\u866b27 | \u5f53Python\u9047\u5230MongoDB\u7684\u65f6\u5019\uff0c\u5b58\u50a8av\u5973\u4f18\u7684\u6570\u636e\u53d8\u5f97\u5982\u6b64\u987a\u6ed1\u723d\uff5e\" \/><\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; letter-spacing: 1px;\">\u5220\u9664 \u6ce2\u591a\u91ce\u7ed3\u8863<\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; letter-spacing: 1px;\"><img decoding=\"async\" class=\"mpa-image aligncenter\" title=\"python\u722c\u866b27 | \u5f53Python\u9047\u5230MongoDB\u7684\u65f6\u5019\uff0c\u5b58\u50a8av\u5973\u4f18\u7684\u6570\u636e\u53d8\u5f97\u5982\u6b64\u987a\u6ed1\u723d\uff5e\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/04\/python6-1587537464.gif\" alt=\"python\u722c\u866b27 | \u5f53Python\u9047\u5230MongoDB\u7684\u65f6\u5019\uff0c\u5b58\u50a8av\u5973\u4f18\u7684\u6570\u636e\u53d8\u5f97\u5982\u6b64\u987a\u6ed1\u723d\uff5e\" \/><\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<section class=\"code-snippet__fix code-snippet__js\">\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\">db.col.<span class=\"code-snippet__keyword\">remove<\/span>({<span class=\"code-snippet__string\">\"name\"<\/span>: <span class=\"code-snippet__string\">\"\u6ce2\u591a\u91ce\u7d50\u8863\"<\/span>})<\/span><\/code><\/pre>\n<\/section>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; letter-spacing: 1px;\">\u5220\u9664\u5168\u90e8<\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<section class=\"code-snippet__fix code-snippet__js\">\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__selector-tag\">db<\/span><span class=\"code-snippet__selector-class\">.col<\/span><span class=\"code-snippet__selector-class\">.remove<\/span>()<\/span><\/code><\/pre>\n<\/section>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; letter-spacing: 1px;\">\u628a \u5409\u6cfd\u660e\u6b65 \u6362\u6210 \u82cd\u4e95\u7a7a<\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<section class=\"code-snippet__fix code-snippet__js\">\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\">db.col.update({<span class=\"code-snippet__string\">'name'<\/span>: <span class=\"code-snippet__string\">'\u5409\u6cfd\u660e\u6b65'<\/span>}, {<span class=\"code-snippet__string\">'$set'<\/span>: {<span class=\"code-snippet__string\">'name'<\/span>: <span class=\"code-snippet__string\">'\u82cd\u4e95\u7a7a'<\/span>}})<\/span><\/code><\/pre>\n<\/section>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; letter-spacing: 1px;\">ok<\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; letter-spacing: 1px;\">\u4ee5\u4e0a\u5c31\u662f python \u5bf9 MongoDB \u7684\u64cd\u4f5c<\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; letter-spacing: 1px;\">\u66f4\u591a\u5173\u4e8e MongoDB \u7684\u4ecb\u7ecd\u53ef\u4ee5\u5230\u5b98\u65b9\u770b\u770b<\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; letter-spacing: 1px;\">https:\/\/docs.mongodb.com\/<\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; letter-spacing: 1px;\">\u4ee5\u540e<\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; letter-spacing: 1px;\">\u5c0f\u5e05b\u5e26\u4f60\u73a9\u722c\u866b\u9879\u76ee\u5b9e\u6218\u7684\u65f6\u5019<\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; letter-spacing: 1px;\">\u8fd8\u4f1a\u63d0\u53ca MongoDB \u7684<\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; letter-spacing: 1px;\">\u671f\u5f85\u5c31\u597d<\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; letter-spacing: 1px;\">\u90a3\u4e48<\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; letter-spacing: 1px;\">\u6211\u4eec\u4e0b\u56de\u89c1\u4e86<\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; letter-spacing: 1px;\"><span style=\"background-color: #ffa900; color: #ffffff;\">peace<\/span><\/p>\n<p style=\"text-align: center; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\"><a href=\"http:\/\/mp.weixin.qq.com\/s?__biz=MzU2ODYzNTkwMg==&amp;mid=2247484262&amp;idx=1&amp;sn=836acf203b558ee528e54b278a32c90e&amp;chksm=fc8bbbf7cbfc32e1be6fc2f9f99851af485fb15c354437509b5043b4a31b9336c21114b44c98&amp;scene=21#wechat_redirect\" target=\"_blank\" rel=\"noopener noreferrer\"><span class=\"js_jump_icon h5_image_link\" style=\"top: auto; left: auto; margin: 0px; right: auto; bottom: auto;\"><img decoding=\"async\" class=\"rich_pages aligncenter\" style=\"margin: 0px; top: auto; left: auto; right: auto; bottom: auto;\" title=\"python\u722c\u866b27 | \u5f53Python\u9047\u5230MongoDB\u7684\u65f6\u5019\uff0c\u5b58\u50a8av\u5973\u4f18\u7684\u6570\u636e\u53d8\u5f97\u5982\u6b64\u987a\u6ed1\u723d\uff5e\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/04\/python1-1587537464.jpeg\" alt=\"python\u722c\u866b27 | \u5f53Python\u9047\u5230MongoDB\u7684\u65f6\u5019\uff0c\u5b58\u50a8av\u5973\u4f18\u7684\u6570\u636e\u53d8\u5f97\u5982\u6b64\u987a\u6ed1\u723d\uff5e\" \/><\/span><\/a><\/p>\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\n<p style=\"text-align: center; margin-left: 1em; margin-right: 1em; letter-spacing: 1px;\">\u8bb0\u5f97\u7d20\u8d28\u4e09\u8fde!!!!!!!!!!!!!!!!<\/p>\n<blockquote class=\"keep-source\"><p>\u539f\u6587\u59cb\u53d1\u4e8e\u5fae\u4fe1\u516c\u4f17\u53f7\uff08\u5b66\u4e60python\u7684\u6b63\u786e\u59ff\u52bf\uff09\uff1a<a href=\"http:\/\/mp.weixin.qq.com\/s?__biz=MzU2ODYzNTkwMg==&amp;mid=2247484520&amp;idx=1&amp;sn=5e2adaa2accb7fd9af35cbe7ceef945e&amp;scene=19#wechat_redirect\" target=\"_blank\" rel=\"noopener noreferrer\">python\u722c\u866b27 | \u5f53Python\u9047\u5230MongoDB\u7684\u65f6\u5019\uff0c\u5b58\u50a8av\u5973\u4f18\u7684\u6570\u636e\u53d8\u5f97\u5982\u6b64\u987a\u6ed1\u723d\uff5e<\/a><\/p><\/blockquote>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u4e0a\u6b21 \u6211\u4eec\u77e5\u9053\u4e86\u600e\u4e48\u64cd\u4f5c MySQL \u6570\u636e\u5e93 python\u722c\u866b26 | \u628a\u6570\u636e\u722c\u53d6\u4e0b\u6765\u4e4b\u540e\u5c31\u5b58\u50a8\u5230\u4f60\u7684MySQL\u6570\u636e\u5e93\u3002 MySQL \u6709\u4e9b\u5e74\u5934\u4e86 \u5f00\u6e90\u53c8\u6210\u719f\u53c8\u725b\u903c \u6240\u4ee5\u73b0\u5728\u5f88\u591a\u4f01\u4e1a\u90fd\u5728\u4f7f\u7528 MySQL MySQL \u662f\u5173\u7cfb\u578b\u6570\u636e\u5e93 \u5176\u5b9e\u5f53\u524d\u4e3b\u6d41\u7684\u6570\u636e\u5e93&hellip;<\/p>\n","protected":false},"author":1,"featured_media":5006,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[303],"tags":[401],"_links":{"self":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/5005"}],"collection":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5005"}],"version-history":[{"count":2,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/5005\/revisions"}],"predecessor-version":[{"id":6640,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/5005\/revisions\/6640"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/media\/5006"}],"wp:attachment":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5005"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5005"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5005"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}