{"id":494,"date":"2014-09-11T14:00:05","date_gmt":"2014-09-11T06:00:05","guid":{"rendered":"http:\/\/blog.qdac.cc\/?p=494"},"modified":"2014-09-11T14:00:39","modified_gmt":"2014-09-11T06:00:39","slug":"interval%e7%b1%bb%e5%9e%8b%e8%af%a6%e8%a7%a3","status":"publish","type":"post","link":"https:\/\/blog.qdac.cc\/?p=494","title":{"rendered":"QDB\u4e2dInterval\u7c7b\u578b\u8be6\u89e3"},"content":{"rendered":"<p>\u5728PostgreSQL\u548cOracle\u4e2d\uff0c\u6709\u4e00\u4e2a\u6570\u636e\u7c7b\u578b\u53eb\u4f5cInterval\uff0c\u6211\u79f0\u4e4b\u4e3a\u65f6\u95f4\u95f4\u9694\u7c7b\u578b\uff0c\u7528\u4e8e\u8868\u8fbe\u4e00\u6bb5\u65f6\u95f4\u95f4\u9694\u3002ISO8601\u53ca\u7b49\u4ef7\u7684GBT 7408-2005\u7248\u4e5f\u89c4\u5b9a\u4e86\u6807\u51c6\u7684\u65f6\u95f4\u95f4\u9694\u7c7b\u578b\u7684\u683c\u5f0f\u3002\u5728QDB\u4e2d\uff0c\u6211\u4eec\u52a0\u5165\u4e86\u4e00\u4e2a\u79f0\u4e3aTQSQLInterval\u7684\u7c7b\u578b\u6765\u63cf\u8ff0\u8fd9\u4e2a\u503c\uff0c\u7ed3\u5408\u5b83\u53caPostgreSQL\u3001Oracle\u6211\u4eec\u6765\u8be6\u7ec6\u4e86\u89e3\u4e00\u4e0b\u8fd9\u4e2a\u7c7b\u578b\uff1a<\/p>\n<h4>1\u3001Interval\u7c7b\u578b\u7684\u4f5c\u7528<\/h4>\n<p>Interval\u7c7b\u578b\u7528\u4e8e\u8868\u793a\u4e00\u4e2a\u65f6\u95f4\u65f6\u9694\uff0c\u5982\u6b4c\u91cc\u5531\u7684\uff1a\u201c\u4e00\u767e\u5e74\u4ee5\u540e\uff0c\u6240\u6709\u7684\u4eba\u90fd\u5fd8\u4e86\u6211~~~\u201d\uff0c\u8fd9\u4e2a\u4e00\u767e\u5e74\u5c31\u662f\u4e00\u4e2a\u65f6\u95f4\u95f4\u9694\u3002\u73b0\u5b9e\u751f\u6d3b\u4e2d\u4e5f\u5e38\u6709\u8fd9\u6837\u7684\u573a\u666f\uff0c\u5982\u4e24\u5929\u540e\u5e72\u4ec0\u4e48\u4e8b\u4e2d\u7684\u4e24\u5929\u540e\uff0c\u8001\u4eba\u5e38\u8bf4\u7684\u201c\u4e09\u5341\u5e74\u524d\uff0c\u4ffaXXX\u201d\u4e2d\u7684\u4e09\u5341\u5e74\u524d\u3002<\/p>\n<h4>2\u3001Interval\u7c7b\u578b\u7684\u5b9a\u4e49<\/h4>\n<p>\u4e3a\u4e86\u652f\u6301Interval\u7c7b\u578b\uff0c\u6211\u5728QDB\u7684QValue\u5355\u5143\u5b9e\u73b0\u4e86\u4e00\u4e2aTQInterval\u7c7b\u578b\uff0c\u4f7f\u752864\u4f4d\u6574\u6570\u6765\u5b58\u8d2e\u65f6\u95f4\u95f4\u9694\u3002\u5176\u4e2d\uff0c\u9ad824\u4f4d\u7528\u4e8e\u8bb0\u5f55\u65f6\u95f4\u6708\u6570\uff0c\u4f4e40\u4f4d\u7528\u4e8e\u8bb0\u5f55\u6beb\u79d2\u6570\uff0c\u4e5f\u5c31\u662f\u8bf4QDB\u4e2d\u65f6\u95f4\u95f4\u9694\u7684\u6700\u5c0f\u7cbe\u5ea6\u662f\u6beb\u79d2\uff0c\u6570\u636e\u5e93\u91cc\u5982\u679c\u65f6\u95f4\u95f4\u9694\u5c0f\u4e8e1\u6beb\u79d2\u7684\u90e8\u5206\u5c06\u88ab\u76f4\u63a5\u820d\u5f03\u3002\u59821.23456\u79d2\uff0c\u4f1a\u88ab\u8bb0\u5f55\u505a1234\u6beb\u79d2\u3002<\/p>\n<p>\u4e3a\u4ec0\u4e48TQInterval\u4f1a\u5c06\u65f6\u95f4\u95f4\u9694\u8bb0\u5f55\u4e3a\u4e24\u4e2a\u90e8\u5206\u5462\uff1f\u8fd9\u662f\u56e0\u4e3a\u4ece\u6beb\u79d2\u5230\u65e5\uff0c\u90fd\u53ef\u4ee5\u76f8\u4e92\u4e4b\u95f4\u76f4\u63a5\u6362\u7b97\uff0c\u5982\u4e00\u5929\u662f86400000\u6beb\u79d2\uff0c\u6211\u4eec\u76f4\u63a5\u505a\u7b97\u672f\u8fd0\u7b97\u5c31\u53ef\u4ee5\u8f7b\u6613\u4e92\u8f6c\uff0c\u4f46\u65e5\u548c\u6708\u4e4b\u95f4\u5374\u6ca1\u6709\u529e\u6cd5\u76f4\u63a5\u6362\u7b97\uff0c\u6bcf\u6708\u7684\u5929\u6570\u572828-31\u4e4b\u95f4\u6d6e\u52a8\uff0c\u4f46\u6708\u4e0e\u5e74\u4e4b\u95f4\u6709\u56fa\u5b9a\u7684\u6362\u7b97\u5173\u7cfb\uff081\u5e74=12\u4e2a\u6708\uff09\uff0c\u6240\u4ee5\u5c06\u6708\u4efd\u505a\u4e3a\u4e00\u4e2a\u57fa\u7840\u5355\u4f4d\uff0c\u5c06\u6beb\u79d2\u505a\u4e3a\u4e00\u4e2a\u57fa\u7840\u5355\u4f4d\uff0c\u4e24\u8005\u5c31\u5206\u6210\u4e86\u4e24\u4e2a\u7ec4\u6210\u90e8\u5206\u3002<\/p>\n<p>\u6839\u636e\u4e0a\u9762\u7684\u5b9a\u4e49\uff1a<\/p>\n<p style=\"padding-left: 30px;\">24\u4f4d\u7684\u6708\u4efd\uff0c\u9664\u53bb\u4e86\u4e00\u4f4d\u505a\u4e3a\u7b26\u53f7\u4f4d\uff0c\u5269\u4e0b\u768423\u4f4d\u8868\u793a\u8303\u56f4-8388608~8388607\u4e4b\u95f4\uff0c\u7ea6\u4e3a\u00b1699050\u5e74\u3002<\/p>\n<p style=\"padding-left: 30px;\">40\u4f4d\u7684\u6beb\u79d2\u6570\u53bb\u9664\u4e00\u4e2a\u7b26\u53f7\u4f4d\u540e\uff0c\u5269\u4e0b\u768439\u4f4d\u8868\u793a\u8303\u56f4\u4e3a-549755813888~549755813887\u4e4b\u95f4\uff0c\u7ea6\u4e3a\u00b16362\u5929\uff0c\u7ea6\u00b117\u5e74\u3002<\/p>\n<p>\u4ece\u4e0a\u9762\u7684\u63cf\u8ff0\u8868\u793a\u8303\u56f4\u6211\u4e2a\u4eba\u89c9\u5f97\u8db3\u4ee5\u6ee1\u8db3\u6211\u4eec\u7684\u5b9e\u9645\u4e1a\u52a1\u9700\u8981\uff0c\u5982\u679c\u5b9e\u9645\u4f7f\u7528\u4e2d\u7684\u65f6\u95f4\u95f4\u9694\u8d85\u8fc7\u4e86\u4e0a\u9762\u7684\u8303\u56f4\uff0c\u6211\u89c9\u5f97\u5e94\u8be5\u8003\u8651\u81ea\u884c\u89e3\u51b3\u4e86\u3002<\/p>\n<h4>3\u3001Interval\u7c7b\u578b\u7684\u8868\u8ff0\u5f62\u5f0f<\/h4>\n<p>Interval\u7c7b\u578b\u7684\u8868\u8fbe\u5f0f\u6709\u4ee5\u4e0b\u51e0\u79cd\u683c\u5f0f\uff1a<\/p>\n<p>\uff081\uff09\u3001ISO 8601\u6216GBT7504\u7ea6\u5b9a\u7684\u65f6\u95f4\u95f4\u9694\u683c\u5f0f<\/p>\n<p>\u4ee5P\u6253\u5934\uff0c\u7136\u540e\u662fP<em>n<\/em>Y<em>n<\/em>M<em>n<\/em>DT<em>n<\/em>H<em>n<\/em>M<em>n<\/em>S\uff0c\u5176\u4e2dP\u662f\u5fc5\u9700\u7684\uff0c\u4f46\u5982\u679c\u6ca1\u6709\u65f6\u95f4\u90e8\u5206\uff0cT\u4e0d\u662f\u5fc5\u9700\u7684\uff0c\u5982P1Y2M3DT4H5M6S\u4ee3\u88681\u5e742\u4e2a\u67083\u59294\u5c0f\u65f65\u52066\u79d2\u7684\u65f6\u95f4\u95f4\u9694\u503c\uff0c\u79d2\u6570\u53ef\u4ee5\u662f\u5c0f\u6570\uff0c\u5982PT6.5S\u8fd9\u6837\u5b50\u3002<\/p>\n<p>TQSQLInterval\u7684AsISOString\u5c5e\u6027\u63d0\u4f9b\u8fd9\u79cd\u7c7b\u578b\u7684\u683c\u5f0f\u7f16\u7801\u548c\u89e3\u7801\u652f\u6301\uff0c\u540c\u65f6\u63d0\u4f9bTryFromISOString\u51fd\u6570\u6765\u6d4b\u8bd5\u662f\u5426\u662f\u8be5\u683c\u5f0f\u3002<\/p>\n<p>\uff082\uff09\u3001PostgreSQL\u683c\u5f0f<\/p>\n<p>PostgreSQL\u4ee5\u66f4\u63a5\u8fd1\u81ea\u7136\u8bed\u8a00\uff08\u5f53\u7136\u662f\u82f1\u6587\uff09\u7684\u683c\u5f0f\u6765\u63cf\u8ff0\u65f6\u95f4\u95f4\u9694\uff0c\u5982\u4e0a\u4f8b\u4e2d\u7684\u7b2c\u4e00\u4e2a\u65f6\u95f4\u95f4\u9694\u5c31\u88ab\u5199\u4e3a 1 year 2 mons 3 days 4 hours 5 minutes 6 seconds\uff0c\u524d\u9762\u53ef\u4ee5\u52a0\u4e00\u4e2a@\u7b26\u53f7\uff0c\u4e5f\u53ef\u4ee5\u7701\u7565\u3002<\/p>\n<p>TQSQLInterval\u7684AsPgString\u5c5e\u6027\u63d0\u4f9b\u8fd9\u79cd\u7c7b\u578b\u7684\u683c\u5f0f\u7f16\u7801\u548c\u89e3\u7801\u652f\u6301\uff0c\u540c\u65f6\u63d0\u4f9bTryFromPgString\u51fd\u6570\u6765\u6d4b\u8bd5\u662f\u5426\u80fd\u591f\u8f6c\u6362\u3002<\/p>\n<p>\uff083\uff09\u3001SQL\u683c\u5f0f<\/p>\n<p>SQL\u683c\u5f0f\u7684Interval\u5c06\u503c\u5206\u4e3a\u4e24\u4e2a\u90e8\u5206\uff0c\u5e74\u6708\u90e8\u5206\u4f7f\u7528\u201c\u5e74-\u6708\u201d\u7684\u5f62\u5f0f\u6765\u8868\u8ff0\uff0c\u5269\u4e0b\u7684\u90e8\u5206\u4f7f\u7528\u201c\u65e5 \u65f6:\u5206:\u79d2.\u6beb\u79d2\u201d\u7684\u5f62\u5f0f\u6765\u8868\u8ff0\u3002\u5982\u4e0a\u9762\u7684\u7b49\u4ef7\u5199\u6cd5\u5c31\u662f 1-2 3 4:5:6\u3002<\/p>\n<p>TQInterval\u7684AsSQLString\u5c5e\u6027\u63d0\u4f9b\u8fd9\u79cd\u7c7b\u578b\u7684\u683c\u5f0f\u7f16\u7801\u548c\u89e3\u7801\u652f\u6301\uff0c\u540c\u65f6\u63d0\u4f9bTryFromSQLString\u51fd\u6570\u6765\u6d4b\u8bd5\u662f\u5426\u80fd\u591f\u8f6c\u6362\u3002<\/p>\n<p>\uff084\uff09\u3001Oracle\u683c\u5f0f<\/p>\n<p>\u597d\u5427\uff0c\u6211\u4eec\u559c\u6b22\u548c\u5fae\u8f6f\u4e00\u6837\u7279\u7acb\u72ec\u884c\u7684Oracle\u5927\u5e08\u6765\u4e86\u3002\u5b83\u7684\u683c\u5f0f\u540c\u6837\u662f\u5206\u4e3a\u4e24\u4e2a\u90e8\u5206\uff1a\u5e74\u6708\u548c\u65f6\u95f4\u90e8\u5206\uff0c\u4f46\u5b83\u7684\u683c\u5f0f\u662f\uff1a<\/p>\n<p>INTERVAL &#8216;\u5b57\u7b26\u4e32&#8217; \u683c\u5f0f\u63cf\u8ff0<\/p>\n<p>\u9996\u5148INTERVAL\u662f\u5fc5\u9700\u7684\uff0c\u7136\u540e\u540e\u9762\u7684\u5b57\u7b26\u4e32\u8981\u6839\u636e\u540e\u9762\u7684\u683c\u5f0f\u63cf\u8ff0\u6765\u786e\u5b9a\u5176\u6bcf\u4e2a\u90e8\u5206\u7684\u610f\u4e49\uff1a\u6709YEAR TO MONTH\u548cDAY TO SECOND\u4e24\u79cd\u5927\u7684\u5f62\u5f0f\uff0c\u5982\u679c\u662fYEAR TO MONTH\u90e8\u5206\uff0c\u5176\u683c\u5f0f\u4e3a&#8217;y-m&#8217;\uff0c\u5982\u679c\u662fDAY TO SECOND\uff0c\u5219\u662f&#8217;DAY Hour:Minute:Second.MilliSecond&#8217;\u7684\u683c\u5f0f\u3002\u5177\u4f53\u683c\u5f0f\u53ef\u4ee5\u53c2\u8003<a href=\"http:\/\/docs.oracle.com\/cd\/B19306_01\/server.102\/b14200\/sql_elements003.htm#i38598\">Oracle\u7684\u82f1\u6587\u6587\u6863<\/a>\u3002<\/p>\n<p>\u6839\u636e\u4e0a\u9762\u7684\u63cf\u8ff0\uff0c\u6211\u4eec\u53ef\u4ee5\u5c06\u524d\u9762\u7684\u503c\u63cf\u8ff0\u4e3a\u4e24\u4e2a\u503c\uff0c\u5206\u522b\u662fINTERVAL &#8216;1-2&#8217; YEAR TO MONTH\u548cINTERVAL \u00a0&#8216;3 4:5:6&#8217; DAY TO SECOND\uff0c\u6211\u770b\u8d77\u6765\u5c31\u5934\u5927\u4e86\uff0c\u4e0d\u77e5\u9053\u4f60\u5934\u5927\u6ca1\u3002<\/p>\n<p>TQSQLInterval\u7684AsOracleString\u5c5e\u6027\u63d0\u4f9b\u8fd9\u79cd\u7c7b\u578b\u7684\u683c\u5f0f\u7f16\u7801\u548c\u89e3\u7801\u652f\u6301\uff0c\u540c\u65f6\u63d0\u4f9bTryFromOracleString\u51fd\u6570\u6765\u6d4b\u8bd5\u662f\u5426\u80fd\u591f\u8f6c\u6362\u3002<\/p>\n<h4>4\u3001\u5927\u5c0f\u6bd4\u8f83<\/h4>\n<p>\uff081\uff09\u3001\u76f8\u7b49\u5224\u65ad<\/p>\n<p>\u8fd9\u4e2a\u597d\u8bf4\uff0c\u4e24\u4e2a\u503c\u5b8c\u5168\u4e00\u6837\u5c31\u662f\u76f8\u7b49\uff0c\u4e0d\u5b8c\u5168\u4e00\u6837\u5c31\u662f\u4e0d\u76f8\u7b49\u3002<\/p>\n<p>\uff082\uff09\u3001\u5927\u5c0f\u5224\u65ad<\/p>\n<p>\u6211\u4eec\u77e5\u9053\u4e00\u5e74\u7684\u771f\u6b63\u5927\u5c0f\u662f365.24219\u5929\uff0c\u800c1\u5e74\u662f12\u4e2a\u6708\uff0c\u6240\u4ee5\u4e00\u4e2a\u6708\u5b9e\u9645\u4e0a\u662f30.43684916666667\u5929\uff0c\u6240\u4ee5\uff0c\u5f53\u8fdb\u884c\u5927\u5c0f\u5224\u65ad\u65f6\uff0c\u6211\u4eec\u53ef\u4ee5\u7b80\u5355\u7684\u5c06\u9ad824\u4f4d\u6708\u6570\u00d730.43684916666667\u00d786400000+\u4f4e40\u4f4d\u7684\u6beb\u79d2\u503c\u7684\u7ed3\u679c\u8fdb\u884c\u6bd4\u8f83\uff0cTQSQLInterval\u4f7f\u7528\u7684\u5c31\u662f\u8fd9\u4e00\u7b97\u6cd5\uff0c\u5f53\u7136\u5176\u79d1\u5b66\u6027\u53ef\u80fd\u4e0d\u4e00\u5b9a\u5f88\u4e25\u683c\uff0c\u4f46\u7528\u4e8e\u6bd4\u8f83\u95f4\u9694\u7684\u5927\u5c0f\uff0c\u6211\u89c9\u5f97\u8fd8\u662f\u5408\u9002\u7684\u3002\u5982\u679c\u5927\u5bb6\u6709\u66f4\u597d\u7684\u60f3\u6cd5\uff0c\u6b22\u8fce\u63d0\u51fa\u3002<\/p>\n<p><!--more--><\/p>\n<p>\u597d\u4e86\uff0c\u6211\u4eec\u524d\u9762\u8bf4\u4e86\u5f88\u591a\uff0c\u90a3\u4e48TQSQLInterval\u7684AsString\u5c5e\u6027\u7528\u7684\u662f\u5565\u683c\u5f0f\uff1f\u9996\u5148\uff0c\u5199\u503c\u65f6\uff0c\u4e0a\u9762\u7684\u683c\u5f0f\u4efb\u9009\u5176\u4e00\uff0c\u8bfb\u503c\u65f6\uff0c\u4e0eAsSQLString\u7b49\u4ef7\uff08\u56e0\u4e3a\u6211\u89c9\u5f97\u90a3\u4e2a\u63cf\u8ff0\u6700\u7b80\u6d01\uff09\u3002<\/p>\n<p>\u63a5\u4e0b\u6765\uff0c\u6211\u6765\u89e3\u91ca\u4e00\u4e2a\u95ee\u9898\uff1a\u5982\u4f55\u63cf\u8ff013\u4e2a\u6708\u524d\u8fd9\u79cd\u95f4\u9694\u5462\uff1f<\/p>\n<p>13\u4e2a\u6708\u524d\u8bb0\u5f55\u505a-13\u6708\uff0c\u4f46\u8f6c\u6362\u6210\u5b57\u7b26\u4e32\u65f6\uff0c\u7531\u4e8e\u6ee1\u8db3\u4e8612\u4e2a\u6708\uff0c\u6240\u4ee5\u6211\u4eec\u53ef\u4ee5\u63cf\u8ff0\u4e3a\u4e00\u5e74\u524d\u7684\u524d\u4e00\u4e2a\u6708\uff0c\u5373-1\u5e74-1\u6708\uff0c\u4f46\u6211\u4e0d\u559c\u6b22\u8fd9\u6837\u7684\u63cf\u8ff0\uff0c\u6211\u66f4\u559c\u6b22-2\u5e7411\u6708\u5f62\u5f0f\uff0c\u4fdd\u8bc1\u5168\u90e8\u53ea\u9700\u8981\u5e74\u6708\u548c\u65f6\u95f4\u90e8\u5206\uff0c\u90fd\u53ea\u6709\u6700\u524d\u9762\u7684\u5e74\u548c\u65e5\u662f\u8d1f\u6570\uff0c\u5269\u4e0b\u7684\u90fd\u662f\u6b63\u6570\u5373\u53ef\u3002\u5982\u679c\u8111\u888b\u8f6c\u4e0d\u8fc7\u6765\uff0cTQSQLInterval\u4f1a\u81ea\u52a8\u7ed9\u4f60\u8f6c\u8fc7\u6765\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728PostgreSQL\u548cOracle\u4e2d\uff0c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[8,4,9],"tags":[48,56],"class_list":["post-494","post","type-post","status-publish","format-standard","hentry","category-delphi","category-pgsql","category-qdac","tag-interval","tag-56"],"views":8385,"_links":{"self":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/494","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=494"}],"version-history":[{"count":2,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/494\/revisions"}],"predecessor-version":[{"id":502,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/494\/revisions\/502"}],"wp:attachment":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=494"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=494"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=494"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}