{"id":200627,"date":"2025-05-06T12:07:51","date_gmt":"2025-05-06T04:07:51","guid":{"rendered":"https:\/\/server.hk\/cnblog\/200627\/"},"modified":"2025-05-06T12:07:51","modified_gmt":"2025-05-06T04:07:51","slug":"%e8%87%aa%e5%8a%a8%e6%8a%bd%e9%a2%98%e6%97%b6%ef%bc%8c%e5%a6%82%e4%bd%95%e8%a7%a3%e5%86%b3%e5%88%a0%e9%99%a4%e8%ae%b0%e5%bd%95%e5%90%8e%e4%b8%bb%e9%94%ae-id-%e4%b8%8e%e9%a2%98%e7%9b%ae%e6%95%b0","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/200627\/","title":{"rendered":"\u81ea\u52a8\u62bd\u9898\u65f6\uff0c\u5982\u4f55\u89e3\u51b3\u5220\u9664\u8bb0\u5f55\u540e\u4e3b\u952e ID \u4e0e\u9898\u76ee\u6570\u91cf\u4e0d\u4e00\u81f4\u7684\u95ee\u9898\uff1f"},"content":{"rendered":"<p><b><\/b> <\/p>\n<h1>\u81ea\u52a8\u62bd\u9898\u65f6\uff0c\u5982\u4f55\u89e3\u51b3\u5220\u9664\u8bb0\u5f55\u540e\u4e3b\u952e ID \u4e0e\u9898\u76ee\u6570\u91cf\u4e0d\u4e00\u81f4\u7684\u95ee\u9898\uff1f<\/h1>\n<p>\u672c\u7bc7\u6587\u7ae0\u5411\u5927\u5bb6\u4ecb\u7ecd\u300a\u81ea\u52a8\u62bd\u9898\u65f6\uff0c\u5982\u4f55\u89e3\u51b3\u5220\u9664\u8bb0\u5f55\u540e\u4e3b\u952e ID \u4e0e\u9898\u76ee\u6570\u91cf\u4e0d\u4e00\u81f4\u7684\u95ee\u9898\uff1f\u300b\uff0c\u4e3b\u8981\u5305\u62ec\uff0c\u5177\u6709\u4e00\u5b9a\u7684\u53c2\u8003\u4ef7\u503c\uff0c\u9700\u8981\u7684\u670b\u53cb\u53ef\u4ee5\u53c2\u8003\u4e00\u4e0b\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.17golang.com\/uploads\/20241110\/173120655867301d9e4ee4a.jpg\" class=\"aligncenter\"><\/p>\n<p><strong>\u81ea\u52a8\u62bd\u9898\u65f6\uff0c\u5220\u9664\u8bb0\u5f55\u540e\u4e3b\u952e id \u4e0e\u9898\u76ee\u6570\u91cf\u4e0d\u4e00\u81f4\u7684\u89e3\u51b3\u65b9\u6848<\/strong><\/p>\n<p>\u4f60\u60f3\u8981\u5b9e\u73b0\u81ea\u52a8\u62bd\u9898\u7684\u529f\u80fd\uff0c\u539f\u672c\u7684\u601d\u8def\u662f\u901a\u8fc7\u67e5\u8be2\u9898\u76ee\u4e2a\u6570\uff0c\u7136\u540e\u751f\u6210\u4e00\u4e2a\u968f\u673a id\uff0c\u518d\u6839\u636e id \u6765\u83b7\u53d6\u9898\u76ee\u3002\u4f46\u662f\u7531\u4e8e\u6709\u5220\u9664\u529f\u80fd\uff0c\u5bfc\u81f4 id \u548c\u9898\u76ee\u6570\u91cf\u4e0d\u4e00\u81f4\u3002<\/p>\n<p><strong>\u89e3\u51b3\u65b9\u6848\uff1a<\/strong><\/p>\n<p>\u4e0e\u5176\u67e5\u8be2\u9898\u76ee\u6570\u91cf\u518d\u751f\u6210\u968f\u673a id\uff0c\u4e0d\u5982\u76f4\u63a5\u67e5\u8be2\u6240\u6709\u9898\u76ee\uff0c\u7136\u540e\u4ece\u4e2d\u968f\u673a\u9009\u62e9\u3002\u8fd9\u6837\uff0c\u5373\u4f7f\u5220\u9664\u4e86\u9898\u76ee\uff0c\u4e5f\u4e0d\u4f1a\u5f71\u54cd\u968f\u673a\u9009\u62e9\u7684\u6b63\u786e\u6027\u3002<\/p>\n<p>\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<pre>SELECT * FROM questions;<\/pre>\n<p>\u4e4b\u540e\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u7f16\u7a0b\u8bed\u8a00\u4e2d\u7684\u968f\u673a\u51fd\u6570\u4ece\u67e5\u8be2\u7ed3\u679c\u4e2d\u968f\u673a\u9009\u62e9\u4e00\u4e2a\u9898\u76ee\u3002\u8fd9\u6837\uff0c\u4f60\u5c31\u53ef\u4ee5\u5b9e\u73b0\u81ea\u52a8\u62bd\u9898\u529f\u80fd\uff0c\u540c\u65f6\u907f\u514d\u4e86 id \u548c\u9898\u76ee\u6570\u91cf\u4e0d\u4e00\u81f4\u7684\u95ee\u9898\u3002<\/p>\n<p>\u672c\u7bc7\u5173\u4e8e\u300a\u81ea\u52a8\u62bd\u9898\u65f6\uff0c\u5982\u4f55\u89e3\u51b3\u5220\u9664\u8bb0\u5f55\u540e\u4e3b\u952e ID \u4e0e\u9898\u76ee\u6570\u91cf\u4e0d\u4e00\u81f4\u7684\u95ee\u9898\uff1f\u300b\u7684\u4ecb\u7ecd\u5c31\u5230\u6b64\u7ed3\u675f\u5566\uff0c\u4f46\u662f\u5b66\u65e0\u6b62\u5883\uff0c\u60f3\u8981\u4e86\u89e3\u5b66\u4e60\u66f4\u591a\u5173\u4e8e\u6570\u636e\u5e93\u7684\u76f8\u5173\u77e5\u8bc6\uff0c\u8bf7\u5173\u6ce8\u4e3b\u673a\u5b9d\u8d1d\u516c\u4f17\u53f7\uff01<\/p>\n<dl>\n<dt>\n <\/dt>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>\u81ea\u52a8\u62bd\u9898\u65f6\uff0c\u5982\u4f55\u89e3\u51b3\u5220\u9664\u8bb0\u5f55\u540e\u4e3b&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[101],"tags":[],"class_list":["post-200627","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/200627","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=200627"}],"version-history":[{"count":0,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/200627\/revisions"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=200627"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=200627"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=200627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}