{"id":3457,"date":"2019-06-14T15:58:43","date_gmt":"2019-06-14T07:58:43","guid":{"rendered":"https:\/\/damogame.cn\/wordpress\/?p=3457"},"modified":"2019-06-14T15:58:43","modified_gmt":"2019-06-14T07:58:43","slug":"%e4%ba%8b%e5%8a%a1%e4%b8%8e%e5%ad%98%e5%82%a8%e8%bf%87%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/i007.cc\/wordpress\/archives\/3457","title":{"rendered":"\u4e8b\u52a1\u4e0e\u5b58\u50a8\u8fc7\u7a0b"},"content":{"rendered":"<div id=\"cnblogs_post_body\" class=\"blogpost-body\">\n<h2><strong>\u4e8b\u52a1\u7ba1\u7406<\/strong><\/h2>\n<p>\u4e8b\u52a1\u7684\u6982\u5ff5<\/p>\n<p>\u8c13\u7684\u4e8b\u52a1\u5c31\u662f\u9488\u5bf9\u6570\u636e\u5e93\u7684\u4e00\u7ec4\u64cd\u4f5c\uff0c\u5b83\u53ef\u4ee5\u7531\u4e00\u6761\u6216\u591a\u6761SQL\u8bed\u53e5\u7ec4\u6210\uff0c\u540c\u4e00\u4e2a\u4e8b\u52a1\u7684\u64cd\u4f5c\u5177\u5907\u540c\u6b65\u7684\u7279\u70b9\uff0c\u5373\u4e8b\u52a1\u4e2d\u7684\u8bed\u53e5\u8981\u4e48\u90fd\u6267\u884c\uff0c\u8981\u4e48\u90fd\u4e0d\u6267\u884c\u3002<\/p>\n<p>\u4e8b\u52a1\u7684\u4f7f\u7528<\/p>\n<p>\u5f00\u542f\u4e8b\u52a1START TRANSACTION;<\/p>\n<p>\u6267\u884cSQL\u8bed\u53e5<\/p>\n<p>\u63d0\u4ea4\u4e8b\u52a1COMMIT;<\/p>\n<p>\u53d6\u6d88\u4e8b\u52a1(\u56de\u6eda)<\/p>\n<p>\u4e8b\u52a1\u7684\u63d0\u4ea4<\/p>\n<p>\u4e8b\u52a1\u4e2d\u7684\u64cd\u4f5c\u8bed\u53e5\u90fd\u9700\u8981\u4f7f\u7528COMMIT\u8bed\u53e5\u624b\u52a8\u63d0\u4ea4\uff0c\u53ea\u6709\u4e8b\u52a1\u63d0\u4ea4\u540e\u5176\u4e2d\u7684\u64cd\u4f5c\u624d\u4f1a\u751f\u6548\u3002<\/p>\n<p>\u4e8b\u52a1\u7684\u56de\u6eda<\/p>\n<p>\u5982\u679c\u4e0d\u60f3\u63d0\u4ea4\u5f53\u524d\u4e8b\u52a1\uff0c\u53ef\u4f7f\u7528ROLLBACK\u8bed\u53e5\u53d6\u6d88\u5f53\u524d\u4e8b\u52a1\u3002<\/p>\n<p>ROLLBACK\u8bed\u53e5\u53ea\u80fd\u9488\u5bf9\u672a\u63d0\u4ea4\u7684\u4e8b\u52a1\u6267\u884c\u56de\u6eda\u64cd\u4f5c\uff0c\u5df2\u63d0\u4ea4\u7684\u4e8b\u52a1\u662f\u4e0d\u80fd\u56de\u6eda\u7684\u3002<\/p>\n<p>\u4e8b\u52a1\u7684\u9694\u79bb\u7ea7\u522b<\/p>\n<p>REPEATABLE READ(\u53ef\u91cd\u590d\u8bfb)<\/p>\n<p>READ UNCOMMITTED(\u8bfb\u672a\u63d0\u4ea4)<\/p>\n<p>READ COMMITTED(\u8bfb\u63d0\u4ea4)<\/p>\n<p>SERIALIZABLE(\u53ef\u4e32\u884c\u5316)<\/p>\n<h2><strong>\u4e8b\u52a1\u7684\u5b9a\u4e49\u7279\u6027<\/strong><\/h2>\n<p>\u539f\u5b50\u6027<\/p>\n<p>\u539f\u5b50\u6027\u662f\u6307\u4e00\u4e2a\u4e8b\u52a1\u5fc5\u987b\u88ab\u89c6\u4e3a\u4e00\u4e2a\u4e0d\u53ef\u5206\u5272\u7684\u6700\u5c0f\u5de5\u4f5c\u5355\u5143\uff0c\u53ea\u6709\u4e8b\u52a1\u4e2d\u6240\u6709\u7684\u6570\u636e\u5e93\u64cd\u4f5c\u90fd\u6267\u884c\u6210\u529f\uff0c\u624d\u7b97\u6574\u4e2a\u4e8b\u52a1\u6267\u884c\u6210\u529f<\/p>\n<p>\u4e00\u81f4\u6027<\/p>\n<p>\u4e00\u81f4\u6027\u662f\u6307\u4e8b\u52a1\u5c06\u6570\u636e\u5e93\u4ece\u4e00\u79cd\u72b6\u6001\u8f6c\u53d8\u4e3a\u4e0b\u4e00\u79cd\u4e00\u81f4\u7684\u72b6\u6001\u3002<\/p>\n<p>\u9694\u79bb\u6027<\/p>\n<p>\u9694\u79bb\u6027\u8fd8\u53ef\u4ee5\u79f0\u4e3a\u5e76\u53d1\u63a7\u5236\u3001\u53ef\u4e32\u884c\u5316\u3001\u9501\u7b49\uff0c\u5f53\u591a\u4e2a\u7528\u6237\u5e76\u53d1\u8bbf\u95ee\u6570\u636e\u5e93\u65f6\uff0c\u6570\u636e\u5e93\u4e3a\u6bcf\u4e00\u4e2a\u7528\u6237\u5f00\u542f\u7684\u4e8b\u52a1\uff0c\u4e0d\u80fd\u88ab\u5176\u4ed6\u4e8b\u52a1\u7684\u64cd\u4f5c\u6570\u636e\u6240\u5e72\u6270\uff0c\u591a\u4e2a\u5e76\u53d1\u4e8b\u52a1\u4e4b\u95f4\u8981\u76f8\u4e92\u9694\u79bb\u3002<\/p>\n<p>\u6301\u4e45\u6027<\/p>\n<p>\u4e8b\u52a1\u4e00\u65e6\u63d0\u4ea4\uff0c\u5176\u6240\u505a\u7684\u4fee\u6539\u5c31\u4f1a\u6c38\u4e45\u4fdd\u5b58\u5230\u6570\u636e\u5e93\u4e2d\uff0c\u5373\u4f7f\u6570\u636e\u5e93\u53d1\u751f\u6545\u969c\u4e5f\u4e0d\u5e94\u8be5\u5bf9\u5176\u6709\u4efb\u4f55\u5f71\u54cd\u3002<\/p>\n<p>\u4e8b\u52a1\u7684\u6301\u4e45\u6027\u4e0d\u80fd\u505a\u5230100%\u7684\u6301\u4e45\uff0c\u53ea\u80fd\u4ece\u4e8b\u52a1\u672c\u8eab\u7684\u89d2\u5ea6\u6765\u4fdd\u8bc1\u6c38\u4e45\u6027\uff0c\u800c\u4e00\u4e9b\u5916\u90e8\u539f\u56e0\u5bfc\u81f4\u6570\u636e\u5e93\u53d1\u751f\u6545\u969c\uff0c\u5982\u786c\u76d8\u635f\u574f\uff0c\u90a3\u4e48\u6240\u6709\u63d0\u4ea4\u7684\u6570\u636e\u53ef\u80fd\u90fd\u4f1a\u4e22\u5931\u3002<\/p>\n<h2><strong>\u5b58\u50a8\u8fc7\u7a0b\u7684\u521b\u5efa<\/strong><\/h2>\n<h3><strong>\u3000\u3000\u4ec0\u4e48\u662f\u5b58\u50a8\u8fc7\u7a0b<\/strong><\/h3>\n<p>\u5b58\u50a8\u8fc7\u7a0b\u5c31\u662f\u4e00\u6761\u6216\u591a\u6761SQL\u8bed\u53e5\u7684\u96c6\u5408\uff0c\u5f53\u5bf9\u6570\u636e\u5e93\u8fdb\u884c\u4e00\u7cfb\u5217\u590d\u6742\u64cd\u4f5c\u65f6\uff0c\u5b58\u50a8\u8fc7\u7a0b\u53ef\u4ee5\u5c06\u8fd9\u4e9b\u590d\u6742\u64cd\u4f5c\u5c01\u88c5\u6210\u4e00\u4e2a\u4ee3\u7801\u5757\uff0c\u4ee5\u4fbf\u91cd\u590d\u4f7f\u7528\uff0c\u5927\u5927\u51cf\u5c11\u6570\u636e\u5e93\u5f00\u53d1\u4eba\u5458\u7684\u5de5\u4f5c\u91cf\u3002<\/p>\n<h3><strong>\u3000\u3000\u521b\u5efa\u5b58\u50a8\u8fc7\u7a0b<\/strong><\/h3>\n<p>CREATE PROCEDURE sp_name([proc_parameter])<\/p>\n<p>[characteristics\u2026]routine_body<\/p>\n<p>&nbsp;<\/p>\n<p>CREATE PROCEDURE\uff1a\u4e3a\u7528\u6765\u521b\u5efa\u5b58\u50a8\u8fc7\u7a0b\u7684\u5173\u952e\u5b57\u3002<\/p>\n<p>sp_name\uff1a\u4e3a\u5b58\u50a8\u8fc7\u7a0b\u7684\u540d\u79f0\u3002<\/p>\n<p>proc_parameter\uff1a\u4e3a\u6307\u5b9a\u5b58\u50a8\u8fc7\u7a0b\u7684\u53c2\u6570\u5217\u8868\u3002<\/p>\n<p>characteristics\uff1a\u7528\u4e8e\u6307\u5b9a\u5b58\u50a8\u8fc7\u7a0b\u7684\u7279\u6027\u3002<\/p>\n<h3><strong>\u3000\u3000\u53d8\u91cf\u7684\u4f7f\u7528<\/strong><\/h3>\n<p>\u5b9a\u4e49<\/p>\n<p>\u5728MySQL\u4e2d\uff0c\u53d8\u91cf\u53ef\u4ee5\u5728\u5b50\u7a0b\u5e8f\u4e2d\u58f0\u660e\uff0c\u7528\u4e8e\u4fdd\u5b58\u6570\u636e\u5904\u7406\u8fc7\u7a0b\u4e2d\u7684\u503c\uff0c\u8fd9\u4e9b\u53d8\u91cf\u7684\u4f5c\u7528\u8303\u56f4\u5728BEGIN\u2026END\u7a0b\u5e8f\u4e2d\u3002<\/p>\n<p>DECLARE var_name[,varname]\u2026date_type[DEFAULT value];<\/p>\n<p>var_name\uff1a\u4e3a\u5c40\u90e8\u53d8\u91cf\u7684\u540d\u79f0\u3002<\/p>\n<p>DEFAULT value\uff1a\u5b50\u53e5\u7ed9\u53d8\u91cf\u63d0\u4f9b\u4e00\u4e2a\u9ed8\u8ba4\u503c\uff0c\u8be5\u503c\u53ef\u4ee5\u88ab\u58f0\u660e\u4e3a\u4e00\u4e2a\u5e38\u6570\u6216\u4e00\u4e2a\u8868\u8fbe\u5f0f\u3002\u5982\u679c\u6ca1\u6709DEFAULT\u5b50\u53e5\uff0c\u53d8\u91cf\u7684\u521d\u59cb\u503c\u4e3aNULL\u3002<\/p>\n<p>\u4f7f\u7528SET\u8bed\u53e5\u4e3a\u53d8\u91cf\u8d4b\u503c<\/p>\n<p>SET var_name =<\/p>\n<p>expr[,var_name = expr]\u2026;<\/p>\n<p>&nbsp;<\/p>\n<p>\u4f7f\u7528SELECT\u2026INTO\u4e3a\u4e00\u4e2a\u6216\u591a\u4e2a\u53d8\u91cf\u8d4b\u503c<\/p>\n<p>SELECT col_name[\u2026]<\/p>\n<p>INTO var_name[\u2026] table_expr;<\/p>\n<p>&nbsp;<\/p>\n<h3><strong>\u3000\u3000\u5b9a\u4e49\u6761\u4ef6\u548c\u5904\u7406\u7a0b\u5e8f<\/strong><\/h3>\n<p>\u5b9a\u4e49\u6761\u4ef6\u662f\u6307\u4e8b\u5148\u5b9a\u4e49\u7a0b\u5e8f\u6267\u884c\u8fc7\u7a0b\u4e2d\u9047\u5230\u7684\u95ee\u9898<\/p>\n<p>DECLARE condition_name CONDITION FOR [condition_type];<\/p>\n<p>\/\/ condition_type\u7684\u4e24\u79cd\u5f62\u5f0f\uff1a<\/p>\n<p>[condition_type]:<\/p>\n<p>SQLSTATE[VALUE] sqlstate_value|mysql_error_code<\/p>\n<p>\u5904\u7406\u7a0b\u5e8f\u5b9a\u4e49\u4e86\u5728\u7a0b\u5e8f\u6267\u884c\u8fc7\u7a0b\u4e2d\u9047\u5230\u95ee\u9898\u65f6\u5e94\u5f53\u91c7\u53d6\u7684\u5904\u7406\u65b9\u5f0f\uff0c\u5e76\u4e14\u4fdd\u8bc1\u5b58\u50a8\u8fc7\u7a0b\u5728\u9047\u5230\u8b66\u544a\u6216\u9519\u8bef\u65f6\u80fd\u7ee7\u7eed\u6267\u884c\u5904\u7406\u8fc7\u7a0b\u4f7f\u7528DECLARE\u8bed\u53e5\u5b9a\u4e49<\/p>\n<p>DECLARE handler_type HANDLER FOR condition_value[,\u2026] sp_statement<\/p>\n<p>handler_type:<\/p>\n<p>CONTINUE|EXIT|UNDO<\/p>\n<p>condition_value:<\/p>\n<p>|condition_name<\/p>\n<p>|SQLWARNING<\/p>\n<p>|NOT FOUND<\/p>\n<p>|SQLEXCEPTION<\/p>\n<p>|mysql_error_code<\/p>\n<p>handler_type\uff1a\u4e3a\u9519\u8bef\u5904\u7406\u65b9\u5f0f\uff0c\u53c2\u6570\u53d6\u503c<\/p>\n<p>\u67093\u4e2a\uff1aCONTINUE\u3001EXIT\u548cUNDO\u3002<\/p>\n<p>CONTINUE\uff1a\u8868\u793a\u9047\u5230\u9519\u8bef\u4e0d\u5904\u7406\uff0c\u7ee7\u7eed\u6267\u884c\uff1b<\/p>\n<p>EXIT\uff1a\u9047\u5230\u9519\u8bef\u9a6c\u4e0a\u9000\u51fa\u3002<\/p>\n<p>UNDO\uff1a\u8868\u793a\u9047\u5230\u9519\u8bef\u540e\u64a4\u56de\u4e4b\u524d\u7684\u64cd\u4f5c\uff0cMySQL\u4e2d\u6682\u65f6\u4e0d\u652f\u6301\u8fd9\u6837\u7684\u64cd\u4f5c\u3002sp_statement\uff1a\u53c2\u6570\u4e3a\u7a0b\u5e8f\u8bed\u53e5\u6bb5\uff0c\u8868\u793a\u5728\u9047\u5230\u5b9a\u4e49\u7684\u9519\u8bef\u65f6\uff0c\u9700\u8981\u6267\u884c\u7684\u5b58\u50a8\u8fc7\u7a0b\u3002<\/p>\n<p>condition_value\uff1a\u8868\u793a\u9519\u8bef\u7c7b\u578b\u3002<\/p>\n<h3><strong>\u3000\u3000\u5149\u6807\u7684\u4f7f\u7528<\/strong><\/h3>\n<p>\u5728\u7f16\u5199\u5b58\u50a8\u8fc7\u7a0b\u65f6\uff0c\u67e5\u8be2\u8bed\u53e5\u53ef\u80fd\u4f1a\u8fd4\u56de\u591a\u6761\u8bb0\u5f55\uff0c\u5982\u679c\u6570\u636e\u91cf\u975e\u5e38\u5927\uff0c\u5219\u9700\u8981\u4f7f\u7528\u5149\u6807\u6765\u9010\u6761\u8bfb\u53d6\u67e5\u8be2\u7ed3\u679c\u96c6\u4e2d\u7684\u8bb0\u5f55\u3002\u5149\u6807\u662f\u4e00\u79cd\u7528\u4e8e\u8f7b\u677e\u5904\u7406\u591a\u884c\u6570\u636e\u7684\u673a\u5236\u3002<\/p>\n<p>\u58f0\u660e<\/p>\n<p>\u8bed\u6cd5\uff1aDECLARE cursor_name CURSOR FOR select_statement<\/p>\n<p>\u793a\u4f8b\uff1aDECLARE cursor_student CURSOR FOR select s_name,s_gender FROM student;<\/p>\n<p>\u4f7f\u7528<\/p>\n<p>\u8bed\u6cd5\uff1aOPEN cursor_name FETCH cursor_name INTO var_name[,var_name]\u2026<\/p>\n<p>\u793a\u4f8b\uff1aFETCH cursor_student INTO s_name, s_gender;<\/p>\n<p>\u5173\u95ed<\/p>\n<p>CLOSE cursor_name<\/p>\n<h3><strong>\u6d41\u7a0b\u63a7\u5236\u7684\u4f7f\u7528<\/strong><\/h3>\n<p>\u5b58\u50a8\u8fc7\u7a0b\u4e2d\u7684\u6d41\u7a0b\u63a7\u5236\u8bed\u53e5\u7528\u4e8e\u5c06\u591a\u4e2aSQL\u8bed\u53e5\u5212\u5206\u6216\u7ec4\u5408\u6210\u7b26\u5408\u4e1a\u52a1\u903b\u8f91\u7684\u4ee3\u7801\u5757\uff0cMySQL\u4e2d\u7684\u6d41\u7a0b\u63a7\u5236\u8bed\u53e5\u67097\u4e2a<\/p>\n<p>1\u3001 IF\u8bed\u53e5<\/p>\n<p>\u8bed\u6cd5\u683c\u5f0f\u5982\u4e0b\uff1a<\/p>\n<p>IF expr_condition THEN statement_list<\/p>\n<p>[ELSEIF expr_condition THEN statement_list]<\/p>\n<p>[ELSE statement_list]<\/p>\n<p>END IF<\/p>\n<p>2\u3001CASE\u8bed\u53e5<\/p>\n<p>\u8bed\u6cd5\u683c\u5f0f\u5982\u4e0b\uff1a<\/p>\n<p>CASE case_expr<\/p>\n<p>WHEN when_value THEN statement_list<\/p>\n<p>[WHEN when_value THEN statement_list]\u2026<\/p>\n<p>[ELSE statement_list]<\/p>\n<p>END CASE<\/p>\n<p>3\u3001 LOOP\u8bed\u53e5<\/p>\n<p>\u8bed\u6cd5\u683c\u5f0f\u5982\u4e0b\uff1a<\/p>\n<p>[loop_label:]LOOP<\/p>\n<p>statement_list<\/p>\n<p>END LOOP [loop_label]<\/p>\n<p>4\u3001LEAVE\u8bed\u53e5<\/p>\n<p>\u8bed\u6cd5\u683c\u5f0f\u5982\u4e0b\uff1a<\/p>\n<p>LEAVE lable<\/p>\n<p>5\u3001ITERATE\u8bed\u53e5<\/p>\n<p>\u8bed\u6cd5\u683c\u5f0f\u5982\u4e0b\uff1a<\/p>\n<p>ITERATE lable<\/p>\n<p>6\u3001REPEAT\u8bed\u53e5<\/p>\n<p>\u8bed\u6cd5\u683c\u5f0f\u5982\u4e0b\uff1a<\/p>\n<p>[repeat_lable:] REPEAT<\/p>\n<p>statement_list<\/p>\n<p>UNTIL expr_condition<\/p>\n<p>END REPEAT[repeat_lable]<\/p>\n<p>7\u3001WHILE\u8bed\u53e5<\/p>\n<p>\u8bed\u6cd5\u683c\u5f0f\u5982\u4e0b\uff1a<\/p>\n<p>[[while_lable:] WHILE expr_condition DO<\/p>\n<p>Statement_list<\/p>\n<p>END WHILE [while_lable]<\/p>\n<h2><strong>\u5b58\u50a8\u8fc7\u7a0b\u7684\u4f7f\u7528<\/strong><\/h2>\n<h3><strong>\u3000\u3000\u8c03\u7528\u5b58\u50a8\u8fc7\u7a0b<\/strong><\/h3>\n<p>CALL sp_name([parameter[,\u2026]])<\/p>\n<p>CALL\uff1a\u4e3a\u8c03\u7528\u5b58\u50a8\u8fc7\u7a0b\u7684\u5173\u952e\u5b57\u3002<\/p>\n<p>sp_name\uff1a\u4e3a\u5b58\u50a8\u8fc7\u7a0b\u7684\u540d\u79f0\u3002<\/p>\n<p>Parameter\uff1a\u4e3a\u5b58\u50a8\u8fc7\u7a0b\u7684\u53c2\u6570\u3002<\/p>\n<h3><strong>\u3000\u3000\u67e5\u770b\u5b58\u50a8\u8fc7\u7a0b<\/strong><\/h3>\n<p>1\u3001\u4f7f\u7528SHOW STATUS\u8bed\u53e5<\/p>\n<p>CALL sp_name([parameter[,\u2026]])<\/p>\n<p>&nbsp;<\/p>\n<p>2\u3001\u4f7f\u7528SHOW CREATE\u8bed\u53e5<\/p>\n<p>SHOW CREATE{PROCEDURE|FUNCTION} sp_name<\/p>\n<p>3\u3001information_schema.Routines\u8868\u4e2d\u67e5\u770b<\/p>\n<p>SELECT * FROM \u00a0information_schema.Routines<\/p>\n<p>WHERE ROUTINE_NAME=&#8217;CountProc1&#8242;<\/p>\n<p>AND ROUTINE_TYPE=&#8217;PROCEDURE&#8217;\\G<\/p>\n<h3><strong>\u3000\u3000\u4fee\u6539\u5b58\u50a8\u8fc7\u7a0b<\/strong><\/h3>\n<p>ALTER {PROCEDURE|FUNCTION} sp_name[characteristic\u2026]<\/p>\n<p>sp_name\uff1a\u8868\u793a\u5b58\u50a8\u8fc7\u7a0b\u6216\u51fd\u6570\u7684\u540d\u79f0\u3002characteristic\uff1a\u8868\u793a\u8981\u4fee\u6539\u5b58\u50a8\u8fc7\u7a0b\u7684\u54ea\u4e2a\u90e8\u5206\uff0c characteristic \u7684\u53d6\u503c\u5206\u4e3a8\u90e8\u5206\u3002<\/p>\n<h3><strong>\u3000\u3000\u5220\u9664\u5b58\u50a8\u8fc7\u7a0b<\/strong><\/h3>\n<p>DROP{ PROCEDURE|FUNCTION }[IF EXISTS] sp_name<\/p>\n<p>\u7efc\u5408\u6848\u4f8b&#8211;\u5b58\u50a8\u8fc7\u7a0b\u5e94\u7528<\/p>\n<\/div>\n<div id=\"MySignature\">\u6700\u80fd\u8ba9\u4eba\u611f\u5230\u5feb\u4e50\u7684\u4e8b\uff0c\u83ab\u8fc7\u4e8e\u7ecf\u8fc7\u4e00\u756a\u52aa\u529b\u540e\uff0c\u6240\u6709\u4e1c\u897f\u6b63\u6162\u6162\u53d8\u6210\u4f60\u60f3\u8981\u7684\u6837\u5b50\uff01<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u4e8b\u52a1\u7ba1\u7406 \u4e8b\u52a1\u7684\u6982\u5ff5 \u8c13\u7684\u4e8b\u52a1\u5c31\u662f\u9488\u5bf9\u6570<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_container_layout":"default_layout","colormag_page_sidebar_layout":"default_layout","footnotes":""},"categories":[],"tags":[119],"class_list":["post-3457","post","type-post","status-publish","format-standard","hentry","tag-03-"],"_links":{"self":[{"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/posts\/3457","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/comments?post=3457"}],"version-history":[{"count":0,"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/posts\/3457\/revisions"}],"wp:attachment":[{"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/media?parent=3457"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/categories?post=3457"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/tags?post=3457"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}