{"id":11442,"date":"2025-06-12T10:32:03","date_gmt":"2025-06-12T02:32:03","guid":{"rendered":"https:\/\/egonlin.com\/?p=11442"},"modified":"2025-06-12T16:24:59","modified_gmt":"2025-06-12T08:24:59","slug":"sql_mode-2","status":"publish","type":"post","link":"https:\/\/egonlin.com\/?p=11442","title":{"rendered":"SQL_MODE"},"content":{"rendered":"<h3>\u4e00 \u58f0\u660e<\/h3>\n<p>\u6807\u7ea2\u90e8\u5206\u4e3a\u91cd\u70b9\u4e86\u89e3<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"tV59E5oJpP\"><p><a href=\"https:\/\/egonlin.com\/?p=11445\">MySQL sql_mode \u8bf4\u660e\uff08\u53ca\u5904\u7406\u4e00\u8d77 sql_mode \u5f15\u53d1\u7684\u95ee\u9898\uff09<\/a><\/p><\/blockquote>\n<p><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"\u300aMySQL sql_mode \u8bf4\u660e\uff08\u53ca\u5904\u7406\u4e00\u8d77 sql_mode \u5f15\u53d1\u7684\u95ee\u9898\uff09\u300b\u2014Egon\u6797\u6d77\u5cf0\" src=\"https:\/\/egonlin.com\/?p=11445&#038;embed=true#?secret=WJ6ET40bV2#?secret=tV59E5oJpP\" data-secret=\"tV59E5oJpP\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<h3>\u4e8c SQL_MODE\u53c2\u6570\u503c<\/h3>\n<p>\u5b98\u65b9\u624b\u518c\u4e13\u95e8\u6709\u4e00\u8282\u4ecb\u7ecd\u00a0<a href=\"https:\/\/dev.mysql.com\/doc\/refman\/5.6\/en\/sql-mode.html\" target=\"_blank\" rel=\"noopener nofollow\">https:\/\/dev.mysql.com\/doc\/refman\/5.6\/en\/sql-mode.html<\/a>\u00a0\u3002 SQL Mode \u5b9a\u4e49\u4e86\u4e24\u4e2a\u65b9\u9762\uff1aMySQL\u5e94\u652f\u6301\u7684SQL\u8bed\u6cd5\uff0c\u4ee5\u53ca\u5e94\u8be5\u5728\u6570\u636e\u4e0a\u6267\u884c\u4f55\u79cd\u786e\u8ba4\u68c0\u67e5\u3002<\/p>\n<p><strong>1. SQL\u8bed\u6cd5\u652f\u6301\u7c7b<\/strong><\/p>\n<ul>\n<li><strong><code>ONLY_FULL_GROUP_BY<\/code><\/strong>\u00a0\u5bf9\u4e8eGROUP BY\u805a\u5408\u64cd\u4f5c\uff0c\u5982\u679c\u5728SELECT\u4e2d\u7684\u5217\u3001HAVING\u6216\u8005ORDER BY\u5b50\u53e5\u7684\u5217\uff0c\u6ca1\u6709\u5728GROUP BY\u4e2d\u51fa\u73b0\uff0c\u90a3\u4e48\u8fd9\u4e2aSQL\u662f\u4e0d\u5408\u6cd5\u7684\u3002\u662f\u53ef\u4ee5\u7406\u89e3\u7684\uff0c\u56e0\u4e3a\u4e0d\u5728 group by \u7684\u5217\u67e5\u51fa\u6765\u5c55\u793a\u4f1a\u6709\u77db\u76fe\u3002<br \/>\n\u57285.7\u4e2d\u9ed8\u8ba4\u542f\u7528\uff0c\u6240\u4ee5\u5728\u5b9e\u65bd5.6\u5347\u7ea7\u52305.7\u7684\u8fc7\u7a0b\u9700\u8981\u6ce8\u610f\uff1a<\/li>\n<\/ul>\n<div class=\"cnblogs_code\">\n<pre> Expression #1 of SELECT list is not in GROUP BY\r\nclause and contains nonaggregated column\r\n'1066export.ebay_order_items.TransactionID' which\r\nis not functionally dependent on columns in GROUP BY\r\nclause; this is incompatible with sql_mode=only_full_group_by<\/pre>\n<\/div>\n<ul>\n<li><strong><code>ANSI_QUOTES<\/code><\/strong>\u00a0\u542f\u7528 ANSI_QUOTES \u540e\uff0c\u4e0d\u80fd\u7528\u53cc\u5f15\u53f7\u6765\u5f15\u7528\u5b57\u7b26\u4e32\uff0c\u56e0\u4e3a\u5b83\u88ab\u89e3\u91ca\u4e3a\u8bc6\u522b\u7b26\uff0c\u4f5c\u7528\u4e0e ` \u4e00\u6837\u3002\u8bbe\u7f6e\u5b83\u4ee5\u540e\uff0c<code>update t set f1=\"\" ...<\/code>\uff0c\u4f1a\u62a5 Unknown column &#8221; in &#8216;field list \u8fd9\u6837\u7684\u8bed\u6cd5\u9519\u8bef\u3002<\/li>\n<li><strong><code>PIPES_AS_CONCAT<\/code><\/strong>\u00a0\u5c06\u00a0<code>||<\/code>\u00a0\u89c6\u4e3a\u5b57\u7b26\u4e32\u7684\u8fde\u63a5\u64cd\u4f5c\u7b26\u800c\u975e \u6216 \u8fd0\u7b97\u7b26\uff0c\u8fd9\u548cOracle\u6570\u636e\u5e93\u662f\u4e00\u6837\u7684\uff0c\u4e5f\u548c\u5b57\u7b26\u4e32\u7684\u62fc\u63a5\u51fd\u6570 CONCAT() \u76f8\u7c7b\u4f3c\u3002<\/li>\n<li><strong><code>NO_TABLE_OPTIONS<\/code><\/strong>\u00a0\u4f7f\u7528\u00a0<code>SHOW CREATE TABLE<\/code>\u00a0\u65f6\u4e0d\u4f1a\u8f93\u51faMySQL\u7279\u6709\u7684\u8bed\u6cd5\u90e8\u5206\uff0c\u5982\u00a0<code>ENGINE<\/code>\u00a0\uff0c\u8fd9\u4e2a\u5728\u4f7f\u7528 mysqldump \u8de8DB\u79cd\u7c7b\u8fc1\u79fb\u7684\u65f6\u5019\u9700\u8981\u8003\u8651\u3002<\/li>\n<li><strong><code>NO_AUTO_CREATE_USER<\/code><\/strong>\u00a0\u5b57\u9762\u610f\u601d\u4e0d\u81ea\u52a8\u521b\u5efa\u7528\u6237\u3002\u5728\u7ed9MySQL\u7528\u6237\u6388\u6743\u65f6\uff0c\u6211\u4eec\u4e60\u60ef\u4f7f\u7528\u00a0<code>GRANT ... ON ... TO dbuser<\/code>\u00a0\u987a\u9053\u4e00\u8d77\u521b\u5efa\u7528\u6237\u3002\u8bbe\u7f6e\u8be5\u9009\u9879\u540e\u5c31\u4e0eoracle\u64cd\u4f5c\u7c7b\u4f3c\uff0c\u6388\u6743\u4e4b\u524d\u5fc5\u987b\u5148\u5efa\u7acb\u7528\u6237\u30025.7.7\u5f00\u59cb\u4e5f\u9ed8\u8ba4\u4e86\u3002<\/li>\n<\/ul>\n<p><strong>2. \u6570\u636e\u68c0\u67e5\u7c7b<\/strong><\/p>\n<ul>\n<li><strong><code>NO_ZERO_DATE<\/code><\/strong>\u00a0\u8ba4\u4e3a\u65e5\u671f &#8216;0000-00-00&#8217; \u975e\u6cd5\uff0c\u4e0e\u662f\u5426\u8bbe\u7f6e\u540e\u9762\u7684\u4e25\u683c\u6a21\u5f0f\u6709\u5173\u3002\n<ol>\n<li>\u5982\u679c\u8bbe\u7f6e\u4e86\u4e25\u683c\u6a21\u5f0f\uff0c\u5219 NO_ZERO_DATE \u81ea\u7136\u6ee1\u8db3\u3002\u4f46\u5982\u679c\u662f INSERT IGNORE \u6216 UPDATE IGNORE\uff0c&#8217;0000-00-00&#8217;\u4f9d\u7136\u5141\u8bb8\u4e14\u53ea\u663e\u793awarning<\/li>\n<li>\u5982\u679c\u5728\u975e\u4e25\u683c\u6a21\u5f0f\u4e0b\uff0c\u8bbe\u7f6e\u4e86<code>NO_ZERO_DATE<\/code>\uff0c\u6548\u679c\u4e0e\u4e0a\u9762\u4e00\u6837\uff0c&#8217;0000-00-00&#8217;\u5141\u8bb8\u4f46\u663e\u793awarning\uff1b\u5982\u679c\u6ca1\u6709\u8bbe\u7f6e<code>NO_ZERO_DATE<\/code>\uff0cno warning\uff0c\u5f53\u505a\u5b8c\u5168\u5408\u6cd5\u7684\u503c\u3002<\/li>\n<li><code>NO_ZERO_IN_DATE<\/code>\u60c5\u51b5\u4e0e\u4e0a\u9762\u7c7b\u4f3c\uff0c\u4e0d\u540c\u7684\u662f\u63a7\u5236\u65e5\u671f\u548c\u5929\uff0c\u662f\u5426\u53ef\u4e3a 0 \uff0c\u5373\u00a0<code>2010-01-00<\/code>\u00a0\u662f\u5426\u5408\u6cd5\u3002<\/li>\n<\/ol>\n<\/li>\n<li><strong><code>NO_ENGINE_SUBSTITUTION<\/code><\/strong>\u00a0\u4f7f\u7528\u00a0<code>ALTER TABLE<\/code>\u6216<code>CREATE TABLE<\/code>\u00a0\u6307\u5b9a ENGINE \u65f6\uff0c \u9700\u8981\u7684\u5b58\u50a8\u5f15\u64ce\u88ab\u7981\u7528\u6216\u672a\u7f16\u8bd1\uff0c\u8be5\u5982\u4f55\u5904\u7406\u3002\u542f\u7528<code>NO_ENGINE_SUBSTITUTION<\/code>\u65f6\uff0c\u90a3\u4e48\u76f4\u63a5\u629b\u51fa\u9519\u8bef\uff1b\u4e0d\u8bbe\u7f6e\u6b64\u503c\u65f6\uff0cCREATE\u7528\u9ed8\u8ba4\u7684\u5b58\u50a8\u5f15\u64ce\u66ff\u4ee3\uff0cATLER\u4e0d\u8fdb\u884c\u66f4\u6539\uff0c\u5e76\u629b\u51fa\u4e00\u4e2a warning .<\/li>\n<li><strong><code>STRICT_TRANS_TABLES<\/code><\/strong>\u00a0\u8bbe\u7f6e\u5b83\uff0c\u8868\u793a\u542f\u7528\u4e25\u683c\u6a21\u5f0f\u3002<\/li>\n<\/ul>\n<p>\u5f88\u591a\u96c6\u6210\u73af\u5883\u81ea\u5e26\u7684MySQL\u8c8c\u4f3c\u90fd\u6ca1\u6709\u5f00\u542fMySQL\u7684\u4e25\u683c\u6a21\u5f0f\uff0c\u4f55\u4e3aMySQL\u7684\u4e25\u683c\u6a21\u5f0f\uff0c\u7b80\u5355\u6765\u8bf4\u5c31\u662fMySQL\u81ea\u8eab\u5bf9\u6570\u636e\u8fdb\u884c\u4e25\u683c\u7684\u6821\u9a8c\uff08\u683c\u5f0f\u3001\u957f\u5ea6\u3001\u7c7b\u578b\u7b49\uff09\uff0c\u6bd4\u5982\u4e00\u4e2a\u6574\u578b\u5b57\u6bb5\u6211\u4eec\u5199\u5165\u4e00\u4e2a\u5b57\u7b26\u4e32\u7c7b\u578b\u7684\u6570\u636e\uff0c\u5728\u975e\u4e25\u683c\u6a21\u5f0f\u4e0bMySQL\u4e0d\u4f1a\u62a5\u9519\uff0c\u540c\u6837\u5982\u679c\u5b9a\u4e49\u4e86char\u6216varchar\u7c7b\u578b\u7684\u5b57\u6bb5\uff0c\u5f53\u5199\u5165\u6216\u66f4\u65b0\u7684\u6570\u636e\u8d85\u8fc7\u4e86\u5b9a\u4e49\u7684\u957f\u5ea6\u4e5f\u4e0d\u4f1a\u62a5\u9519\u3002<\/p>\n<p>\u6211\u8ba4\u4e3a\u8fd9\u4e2a\u5bf9\u4e8e\u7f16\u7a0b\u6765\u8bf4\u6ca1\u6709\u4efb\u4f55\u597d\u5904\uff0c\u867d\u7136\u6211\u4eec\u5c3d\u91cf\u5728\u4ee3\u7801\u4e2d\u505a\u6570\u636e\u6821\u9a8c\u3002MySQL\u5f00\u542f\u4e86\u4e25\u683c\u6a21\u5f0f\u4ece\u4e00\u5b9a\u7a0b\u5e8f\u4e0a\u6765\u8bb2\u662f\u5bf9\u6211\u4eec\u4ee3\u7801\u7684\u4e00\u79cd\u6d4b\u8bd5\uff0c\u5982\u679c\u6211\u4eec\u7684\u5f00\u53d1\u73af\u5883\u6ca1\u6709\u5f00\u542f\u4e25\u683c\u6a21\u5f0f\u5728\u5f00\u53d1\u8fc7\u7a0b\u4e2d\u4e5f\u6ca1\u6709\u9047\u5230\u9519\u8bef\uff0c\u90a3\u4e48\u5728\u4e0a\u7ebf\u6216\u4ee3\u7801\u79fb\u690d\u7684\u65f6\u5019\u5c06\u6709\u53ef\u80fd\u51fa\u73b0\u4e0d\u517c\u5bb9\u7684\u60c5\u51b5\uff0c\u56e0\u6b64\u5728\u5f00\u53d1\u8fc7\u7a0b\u505a\u6700\u597d\u5f00\u542fMySQL\u7684\u4e25\u683c\u6a21\u5f0f\u3002<\/p>\n<p>\u6ce8\u610f\u00a0<code>STRICT_TRANS_TABLES<\/code>\u00a0\u4e0d\u662f\u51e0\u79cd\u7b56\u7565\u7684\u7ec4\u5408\uff0c\u5355\u72ec\u6307\u00a0<code>INSERT<\/code>\u3001<code>UPDATE<\/code>\u51fa\u73b0\u5c11\u503c\u6216\u65e0\u6548\u503c\u8be5\u5982\u4f55\u5904\u7406\uff1a<\/p>\n<ul>\n<li>\n<ol>\n<li>\u5982\u679c\u628a &#8221; \u4f20\u7ed9int\uff0c\u4e25\u683c\u6a21\u5f0f\u4e0b\u975e\u6cd5\uff0c\u82e5\u542f\u7528\u975e\u4e25\u683c\u6a21\u5f0f\u5219\u53d8\u62100\uff0c\u4ea7\u751f\u4e00\u4e2awarning<\/li>\n<li>Out Of Range\uff0c\u53d8\u6210\u63d2\u5165\u6700\u5927\u8fb9\u754c\u503c<\/li>\n<li>A value is missing when a new row to be inserted does not contain a value for a non-NULL column that has no explicit DEFAULT clause in its definition<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<p>\u4e0a\u9762\u5e76\u6ca1\u6709\u56ca\u62ec\u6240\u6709\u7684 SQL Mode\uff0c\u9009\u4e86\u51e0\u4e2a\u4ee3\u8868\u6027\u7684\uff0c\u8be6\u7ec6\u8fd8\u662f\u00a0<a href=\"https:\/\/mariadb.com\/kb\/en\/mariadb\/sql_mode\/\" target=\"_blank\" rel=\"noopener nofollow\">\u770b\u624b\u518c<\/a>\u3002<\/p>\n<p>sql_mode\u4e00\u822c\u6765\u8bf4\u5f88\u5c11\u53bb\u5173\u6ce8\u5b83\uff0c\u6ca1\u6709\u9047\u5230\u5b9e\u9645\u95ee\u9898\u4e4b\u524d\u4e0d\u4f1a\u53bb\u542f\u505c\u4e0a\u9762\u7684\u6761\u76ee\u3002\u6211\u4eec\u5e38\u8bbe\u7f6e\u7684 sql_mode \u662f\u00a0<code>ANSI<\/code>\u3001<code>STRICT_TRANS_TABLES<\/code>\u3001<code>TRADITIONAL<\/code>\uff0cansi\u548ctraditional\u662f\u4e0a\u9762\u7684\u51e0\u79cd\u7ec4\u5408\u3002<\/p>\n<ul>\n<li><code>ANSI<\/code>\uff1a\u66f4\u6539\u8bed\u6cd5\u548c\u884c\u4e3a\uff0c\u4f7f\u5176\u66f4\u7b26\u5408\u6807\u51c6SQL<br \/>\n\u76f8\u5f53\u4e8eREAL_AS_FLOAT, PIPES_AS_CONCAT, ANSI_QUOTES, IGNORE_SPACE<\/li>\n<li><code>TRADITIONAL<\/code>\uff1a\u66f4\u50cf\u4f20\u7edfSQL\u6570\u636e\u5e93\u7cfb\u7edf\uff0c\u8be5\u6a21\u5f0f\u7684\u7b80\u5355\u63cf\u8ff0\u662f\u5f53\u5728\u5217\u4e2d\u63d2\u5165\u4e0d\u6b63\u786e\u7684\u503c\u65f6\u201c\u7ed9\u51fa\u9519\u8bef\u800c\u4e0d\u662f\u8b66\u544a\u201d\u3002<br \/>\n\u76f8\u5f53\u4e8e STRICT_TRANS_TABLES, STRICT_ALL_TABLES, NO_ZERO_IN_DATE, NO_ZERO_DATE, ERROR_FOR_DIVISION_BY_ZERO, NO_AUTO_CREATE_USER, NO_ENGINE_SUBSTITUTION<\/li>\n<li><code>ORACLE<\/code>\uff1a\u76f8\u5f53\u4e8e PIPES_AS_CONCAT, ANSI_QUOTES, IGNORE_SPACE, NO_KEY_OPTIONS, NO_TABLE_OPTIONS, NO_FIELD_OPTIONS, NO_AUTO_CREATE_USER<\/li>\n<\/ul>\n<p>\u65e0\u8bba\u4f55\u79cdmode\uff0c\u4ea7\u751ferror\u4e4b\u540e\u5c31\u610f\u5473\u7740\u5355\u6761sql\u6267\u884c\u5931\u8d25\uff0c\u5bf9\u4e8e\u652f\u6301\u4e8b\u52a1\u7684\u8868\uff0c\u5219\u5bfc\u81f4\u5f53\u524d\u4e8b\u52a1\u56de\u6eda\uff1b\u4f46\u5982\u679c\u6ca1\u6709\u653e\u5728\u4e8b\u52a1\u4e2d\u6267\u884c\uff0c\u6216\u8005\u4e0d\u652f\u6301\u4e8b\u52a1\u7684\u5b58\u50a8\u5f15\u64ce\u8868\uff0c\u5219\u53ef\u80fd\u5bfc\u81f4\u6570\u636e\u4e0d\u4e00\u81f4\u3002MySQL\u8ba4\u4e3a\uff0c\u76f8\u6bd4\u76f4\u63a5\u62a5\u9519\u7ec8\u6b62\uff0c\u6570\u636e\u4e0d\u4e00\u81f4\u95ee\u9898\u66f4\u4e25\u91cd\u3002\u4e8e\u662f\u00a0<code>STRICT_TRANS_TABLES<\/code>\u00a0\u5bf9\u975e\u4e8b\u52a1\u8868\u4f9d\u7136\u5c3d\u53ef\u80fd\u7684\u8ba9\u5199\u5165\u7ee7\u7eed\uff0c\u6bd4\u5982\u7ed9\u4e2a&#8221;\u6700\u5408\u7406&#8221;\u7684\u9ed8\u8ba4\u503c\u6216\u622a\u65ad\u3002\u800c\u5bf9\u4e8e\u00a0<code>STRICT_ALL_TABLES<\/code>\uff0c\u5982\u679c\u662f\u5355\u6761\u66f4\u65b0\uff0c\u5219\u4e0d\u5f71\u54cd\uff0c\u4f46\u5982\u679c\u66f4\u65b0\u7684\u662f\u591a\u6761\uff0c\u7b2c\u4e00\u6761\u6210\u529f\uff0c\u540e\u9762\u5931\u8d25\u5219\u4f1a\u51fa\u73b0\u90e8\u5206\u66f4\u65b0\u3002<\/p>\n<p><strong>5.6.6 \u4ee5\u540e\u7248\u672c\u9ed8\u8ba4\u5c31\u662f<code>NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES<\/code>\uff0c5.5\u9ed8\u8ba4\u4e3a &#8221; \u3002<\/strong><\/p>\n<div><a rel=\"nofollow noopener\" name=\"_label3\"><\/a><\/div>\n<h3 id=\"articleHeader2\">\u4e09 \u8bbe\u7f6e sql_mode<\/h3>\n<p><strong>\u67e5\u770b<\/strong><\/p>\n<div class=\"cnblogs_code\">\n<pre>#1\u3001\u67e5\u770b\u5f53\u524d\u8fde\u63a5\u4f1a\u8bdd\u7684sql\u6a21\u5f0f\uff1a\r\nmysql&gt; select @@session.sql_mode;\r\n\u6216\u8005\u4ece\u73af\u5883\u53d8\u91cf\u91cc\u53d6\r\nmysql&gt; show variables like \"sql_mode\";\r\n\r\n#2\u3001\u67e5\u770b\u5168\u5c40sql_mode\u8bbe\u7f6e\uff1a\r\nmysql&gt; select @@global.sql_mode;\r\n\u53ea\u8bbe\u7f6eglobal\uff0c\u9700\u8981\u91cd\u65b0\u8fde\u63a5\u8fdb\u6765\u624d\u4f1a\u751f\u6548<\/pre>\n<\/div>\n<p><strong>\u8bbe\u7f6e<\/strong><\/p>\n<div class=\"cnblogs_code\">\n<pre>#\u5f62\u5f0f\u5982\r\nmysql&gt; set sql_mode='';\r\nmysql&gt; set global sql_mode='NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES';\r\n\r\n#\u5982\u679c\u662f\u81ea\u5b9a\u4e49\u7684\u6a21\u5f0f\u7ec4\u5408\uff0c\u53ef\u4ee5\u50cf\u4e0b\u9762\u8fd9\u6837\r\nAdding only one mode to sql_mode without removing existing ones:\r\nmysql&gt; SET sql_mode=(SELECT CONCAT(@@sql_mode,',&lt;mode_to_add&gt;'));\r\n\r\nRemoving only a specific mode from sql_mode without removing others:\r\nmysql&gt; SET sql_mode=(SELECT REPLACE(@@sql_mode,'&lt;mode_to_remove&gt;',''));\r\n\r\n#\u914d\u7f6e\u6587\u4ef6\u91cc\u9762\u8bbe\u7f6e sql-mode=\"\"<\/pre>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00 \u58f0\u660e \u6807\u7ea2\u90e8\u5206\u4e3a\u91cd\u70b9\u4e86\u89e3 MySQL sql_mode \u8bf4\u660e\uff08\u53ca\u5904\u7406\u4e00\u8d77 sql_mode \u5f15\u53d1\u7684\u95ee\u9898\uff09  [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/posts\/11442"}],"collection":[{"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/egonlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11442"}],"version-history":[{"count":2,"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/posts\/11442\/revisions"}],"predecessor-version":[{"id":11447,"href":"https:\/\/egonlin.com\/index.php?rest_route=\/wp\/v2\/posts\/11442\/revisions\/11447"}],"wp:attachment":[{"href":"https:\/\/egonlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/egonlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/egonlin.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}